downloading data

Hi

I am using visual c++

I would like to download a file but save the file to the disk myself, I guess OnFXPDownloadFile would be the right function.
How do I get the data as it is downloaded (and decompressed in case of mode Z transfer) - should I use an event from IFTPConnectionEvents ?

regards Peter

Hello ..

Use the DownloadFile method of the IFTPConnection interface. See the help file for further information. There is also an example (Samples\Win32).

Regards,
-Mat