cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Get dir from FTP server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 31 Jul 2007 15:15:12 +0200 (CEST)

On Tue, 31 Jul 2007, Anders Persson wrote:

> I'am new to curl, does anyone have a exampel for how to logg in to a FTP
> server end extract a filelist. (the user vill then select witch files do
> download).

Just get an ordinary FTP URL with a trailing slash. At times
CURLOPT_FTPLISTONLY is useful too.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-07-31