cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using ftp and easy libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Apr 2008 23:36:19 +0200 (CEST)

On Wed, 2 Apr 2008, Alexandru Iancu wrote:

>>> 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?
>
> Yes, the server responds as it should with a 5xx failure reply.
> Let's take for example SIZE cmd(not implemented by the server) ...
> ... it seems that curl-loader(this uses libcurl) decides the server behaves
> inappropriate to a RETR request because of SIZE cmd reply 502 issued in
> between :( .

But then that's a curl-loader flaw rather than anything else, don't you think?
Why would it consider a perfectly legitimate command sequence to be bad?

> I searched a bit curl mailing list and I found this link:
> http://curl.haxx.se/mail/lib-2006-08/0032.html
>
> Is is possible to disable SIZE cmd?

That mail just asked the same question and the answer is still the same: no

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