curl-users
Re: How to download and rename/delete a file from a remote SSL ftp server by curl?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 13 Jan 2005 18:40:33 +0100 (CET)
Date: Thu, 13 Jan 2005 18:40:33 +0100 (CET)
On Thu, 13 Jan 2005, Liang Cai wrote:
> Can someone please tell me how to use curl (on HP unix) to download and
> rename/delete a file from a remote SSL ftp server ??
Something like this (this should be written in one single line):
curl -Q "-RNFR fromfile" -Q "-RNTO tofile" -Q "-DELE rmfile"
ftps://ftps-site.com/file/to/transfer
If you want the more recent spec-following approach, you use a ftp:// URL and
the --ftp-ssl option instead of the ftps:// URL like above.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-13