curl-users
Re: FTP Response
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Jan 2010 11:18:24 +0100 (CET)
Date: Fri, 29 Jan 2010 11:18:24 +0100 (CET)
On Fri, 29 Jan 2010, Irvs wrote:
> Are all ftp responses from an FTP server mapped into a certain CURLE?
No. Different FTP errors are mapped into different libcurl errors. libcurl
tries to provide more generic interface to file transfers, so that the same
failure on a different protocol should lead to basically the same libcurl
error (and thus curl exit code).
> Is CURLE same with the exit codes?
Yes, the CURLE* error codes libcurl returns is what curl will use as exit
code.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-01-29