cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl FTP - downloading a single file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Mar 2008 21:47:11 +0100 (CET)

On Mon, 24 Mar 2008, Alla Bogolubov wrote:

Please don't top-post.

> 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?

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

This example specifies what file to download. See the CURLOPT_URL option.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-24