cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using ftp and easy libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 30 Mar 2008 00:33:53 +0100 (CET)

On Fri, 28 Mar 2008, Alexandru Iancu wrote:

> I would like to know if there is any switch/flag available that tells
> libcurl to issue just a subset of FTP commands(let's say only commands
> defined by rfc959, or rfc2228, etc)?

No, but libcurl should still function fine even on servers that don't support
any of the newer commands.

> There are CURLOPT_FTP_USE_EPSV and CURLOPT_FTP_USE_EPRT but it's not enough.
> I'm testing a rfc959 ftp server(www.myserverproject.net) with curl-loader
> and tests are failing because of commands not implemented.

The server should simply return failure on commands it doesn't understand.
Doesn't it?

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