cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Perform dir listing of a SYMLINK directory over FTP

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 4 Nov 2004 23:21:16 +0100 (CET)

On Thu, 4 Nov 2004, Uday Singh wrote:

> I am using curl-ssl-7.10.7-1

You should consider updating.

> curl_easy_setopt(curl, CURLOPT_URL, "ftp.xxx.com");
> curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LIST /pub/today");

Why are you doing this weirdness? Use a URL like "ftp.xxx.com//pub/today/"
instead and skip the custom request.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-04