cURL / Mailing Lists / curl-users / Single Mail

curl-users

ftp upload and download

From: Craig Liddle <cliddl_at_hotmail.com>
Date: Tue, 21 Apr 2009 08:55:45 +0000

Hi Folks
 
New to the wonders of curl, so sorry if this is an easy one
 
I need to be able to upload a file and download a file within the same session.
 
When i try
 
curl --user <user> -T filea ftp://<server>/filea ftp://<server>/fileb -o fileb
 
filea uploads but fileb is printed to stdout. I have tried varies combinations without success.
 
What am i doing wrong and is this feasable?
 
Cheers all
 
Craig
_________________________________________________________________
Beyond Hotmail — see what else you can do with Windows Live.
http://clk.atdmt.com/UKM/go/134665375/direct/01/

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-21