> ftps.RetrieveFile('data_06.7z', TRUE);
> ftps.DataStream.SaveToFile('arc\data_06.7z');
> It's right?

In this case (by defaul settings), method will to receive data into DataStream 
(TMemoryStream). This way, you need to performe carefully handling of data in 
it...

If you simply want to append file on HDD, you may find easier using  
FTPS.DirectFile and FTPS.DirectFilename properties instead to save stream 
data directly into file on HDD (if that is your intention). Always is useful 
to ensure type of transfer (FTPS.BinaryMode). For example:

ftps.BinaryMode:=true;
ftps.DirectFile:=true;
ftps.DirectFilename:='arc\data_06.7z';
ftps.RetrieveFile('data_06.7z', TRUE);

When tested TFTPSend, I created very simple FTP client, which shows all basics 
operations. I may send you source if you want (7KB zip).

Sasa
--
www.szutils.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to