cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Newbie question concerning ftplistonly option

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 6 Sep 2005 15:29:33 +0200 (CEST)

On Tue, 6 Sep 2005, Frederic Fleche wrote:

> When I execute the following code lines I get an html code that list a ftp
> directory.

When you use a (HTTP) proxy with a FTP URL, the protocol spoken is effectively
HTTP and not FTP. Thus the FTP-specific curl options no longer have any
effect.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-06