cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl FTP - downloading a single file

From: Joe Nardone <jnardone_at_gmail.com>
Date: Mon, 24 Mar 2008 16:44:13 -0400

On Mon, Mar 24, 2008 at 4:24 PM, Alla Bogolubov <abogolub_at_opentext.com> wrote:
> Simple ftp example supplied with libcurl does not specify name of the
> file to be downloaded. Documentation does not specify it either.
> If I want to download a single file from a remote folder that contains a
> handful of files, how do I specify the name of the file?
>

It doesn't?

http://curl.haxx.se/lxr/source/docs/examples/ftpget.c

60 curl_easy_setopt(curl, CURLOPT_URL,
61
"ftp://ftp.sunet.se/pub/www/utilities/curl/curl-7.9.2.tar.gz");
Received on 2008-03-24