curl-library
Re: Retrive File via FTP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Jun 2007 23:18:39 +0200 (CEST)
Date: Mon, 18 Jun 2007 23:18:39 +0200 (CEST)
On Mon, 18 Jun 2007, Charlie Bursell wrote:
> If given an absolute path from which to retrieve a file, how do I retrieve
> the file? For example, the home directory when logged in is /home/mine.
> The given directory to extract files is /somewhere/foo/filename.
ftp://server.com//somewhere/foo/filename
or
ftp://server.com/%2fsomewhere/foo/filename
The latter being how the RFC says it should be done.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-06-18