On Mon, 19 Apr 2010, Amol Madane wrote:
I want to establish the FTP connection from machine A to machine B using
LibCurl and want to transfer the file (*.txt) from B to A. After the
successful transmission of file (*.txt) from B to A, delete the file which
is available on Machine B.
Please find the code that I have written for doing the same is in the
attached file.
Please don't top-post!
How to get the file:
http://curl.haxx.se/libcurl/c/ftpget.html
And to delete the file, you can change the RNFR/RNTO line to DELE in the
example that renames a file after upload:
http://curl.haxx.se/libcurl/c/ftpupload.html
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html