curl-library
Re: FTP: Error 18 (Transferred a partial file) on RETR
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 27 Jul 2005 20:13:23 +0200 (CEST)
Date: Wed, 27 Jul 2005 20:13:23 +0200 (CEST)
On Wed, 27 Jul 2005, Olivier ROBIN wrote:
> Why does this case need to close the connection ? I understand the
> generation of the error 18 but I don't understand the disconnection. Is it
> possible to stay connected ?
It doesn't have to close the connection. It does this because the FTP code
doesn't always and properly separate errors that must close the connection
from the one that can continue with the connection kept alive. Feel free to
fix and provide a patch!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-07-27