curl-users
Re: FTP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Aug 2007 22:50:42 +0200 (CEST)
Date: Mon, 13 Aug 2007 22:50:42 +0200 (CEST)
On Mon, 13 Aug 2007, vijaya krishnan wrote:
> Please let me know how to ftp files from one server to another server using
> curl.
curl can't transfer files between servers (third party transfers, called FXP
at times). It transfers files to/from a server from/to a client.
> ftp server1.domain.com
> enter userid/password
> cd /usr/home/data
> mget abc.txt
>
> let me know the procedure to perform the above.
Did you try the fine docs we have?
$ curl -O ftp://userid:password@server1.domain.com//usr/home/data/abc.txt
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-08-13