Hi, Thanks for your help!!!!!! I will go through the links provided by you and let you know the status.
Regards, Amol Raoji Madane Tata Consultancy Services DLF Akruti Info Park, PN 28, Rajiv Gandhi Infotech Park Hinjewadi, PHASE II Pune - 411057,Maharashtra India Ph:- +91-20-6675-2352 Buzz:- 420-2352 Mailto: [email protected] Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Daniel Stenberg <[email protected]> To: Amol Madane <[email protected]> Cc: libcurl hacking <[email protected]> Date: 04/19/2010 04:45 PM Subject: Re: Establish the FTP Connection and file Transfer from on location to other 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 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
