curl-library
Re: Establish the FTP Connection and file Transfer from on location to other
Date: Mon, 19 Apr 2010 17:58:41 +0530
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: amol.madane_at_tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
From:
Daniel Stenberg <daniel_at_haxx.se>
To:
Amol Madane <amol.madane_at_tcs.com>
Cc:
libcurl hacking <curl-library_at_cool.haxx.se>
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
Received on 2010-04-19