CURLE_HTTP_RETURNED_ERROR (22) This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400. (This error code was formerly known as CURLE_HTTP_NOT_FOUND.) CURLE_WRITE_ERROR CURLE_CHUNK_FAILED (88) Chunk callback reported error. It could mean that it isn't an easy handle at all, or possibly that the handle already is in used by this or another multi handle. If libcurl fails to parse that line, this return code is passed back. this contact form
The given remote server is probably not an OK FTP server. I have a client that is establishing a full (control and data) SSL connection with that host. CURLE_BAD_FUNCTION_ARGUMENT (43) Internal error. Both cases is a no-no.Perhaps this is a clue for my URL problem. https://curl.haxx.se/libcurl/c/libcurl-errors.html
CURLE_FTP_WEIRD_SERVER_REPLY (8) The server sent data libcurl couldn't parse. access rights?) CURLE_REMOTE_FILE_NOT_FOUND (78) The resource referenced in the URL does not exist. Since exit code 1 signifies so many possible errors, it is not particularly useful in debugging.There has been an attempt to systematize exit status numbers (see /usr/include/sysexits.h
You really want the error buffer and read the message there as it pinpoints the problem slightly more. The LDAP library was not found. 41 Function not found. Thanks Christian for working through that with me. Curl Response Code Php CURLE_FAILED_INIT (2) Very early initialization code failed.
When following redirects, libcurl hit the maximum amount. CURLSHE_BAD_OPTION (1) An invalid option was passed to the function. CURLE_QUOTE_ERROR (21) When sending custom "QUOTE" commands to the remote server, one of the commands returned an error code that was 400 or higher (for FTP) or otherwise indicated unsuccessful completion https://curl.haxx.se/mail/archive-2008-12/0022.html Couldn't resolve the host IP we got in the 227-line. 16 FTP can't reconnect.
CURLcode is one of the following: CURLE_OK (0) All fine. CURLE_NOT_BUILT_IN (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. Php Curl Error Codes The given proxy host could not be resolved. 6 Couldn't resolve host. Curl Error 35 I'm > not sure there's anything curl can do about that. > > Can you get it fine from that dir with another ftp client? > > -- > > /
Overview Tutorial Errors Examples Symbols Index Easy Interface Multi Interface Share Interface curl / libcurl / API / Error Codes libcurl error codes NAME libcurl-errors - error codes in libcurl DESCRIPTION http://digitalezines.com/curl-error/curl-error-code-26.html The server sent data curl couldn't parse. 9 FTP access denied. CURLE_FTP_WEIRD_PASS_REPLY (11) After having sent the FTP password to the server, libcurl expects a proper reply. Once more, Thanks! ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.html Received on 2008-12-08 This message: [ Message body ] Next message: Daniel Stenberg: "Re: FTP Download Problem - code 78" Curl Error 60
Also consider curl_multi_strerror. This would allot 50 valid codes, and make troubleshooting scripts more straightforward.  All user-defined exit codes in the accompanying examples to this document conform to this standard, except This should never happen if the server is sane. navigate here some of the error codes are different, at least the one mentioned on the other page:
in PHP the curl error number 28 is called
CURLE_FILESIZE_EXCEEDED (63) Maximum file size exceeded. Curl Sslread() Return Error -9806 CURLE_NO_CONNECTION_AVAILABLE (89) (For internal use only, will never be returned by libcurl) No connection available, the session will be queued. (added in 7.30.0) CURLE_SSL_PINNEDPUBKEYNOTMATCH (90) Failed to match the pinned key Mark P 4 Mar 2015 Beta Testers, Xojo Pro Colorado @ChristianSchmitz for my tools I prefer to use sftp.Do you prefer this because you feel it is more secure?
Here is a snapshot of ftp log file.Fri Sep 2 13:58:36 2011 1 172.25.1.12 5977 /root/sre-v-k9.smv.1.1.1.pkg.install.sre b _ o r root ftp 0 * cFri Sep 2 13:58:36 2011 1 172.25.1.12 CURLE_CONV_REQD (76) Caller must register conversion callbacks. CURLM_INTERNAL_ERROR (4) This can only be returned if libcurl bugs. Curl Error Buffer CURLE_SSL_CONNECT_ERROR (35) A problem occurred somewhere in the SSL/TLS handshake.
CURLE_FILE_COULDNT_READ_FILE (37) A file given with FILE:// couldn't be opened. Did you check file permissions? CURLE_TFTP_NOSUCHUSER (74) This error should never be returned by a properly functioning TFTP server. his comment is here I ran the command with the option -v and this is what I got: <
A similar standard for scripting might be appropriate. Here is the snapshot:.........Changing owners and file permissions.Change owners and permissions complete.INIT: Switching to runlevel: 4INIT: Sending processes the TERM signalSTARTED: dwnldr_startup.shsre_type= 1 Welcome to Cisco Systems Service Engine Helper Softwareuserinput=Downloading Could be certificates (file formats, paths, permissions), passwords, and others. CURLE_OPERATION_TIMEDOUT (28) Operation timeout.
CURLE_FTP_WEIRD_SERVER_REPLY (8) After connecting to a FTP server, libcurl expects to get a certain reply back. an invalid username/password, remote server unreachable, remote log unreadable, etc.), Urchin will log an error code in the runtime output, as viewable in the Task History for the Profile. CURLE_UNSUPPORTED_PROTOCOL (1) The URL you passed to libcurl used a protocol that this libcurl does not support. This should never happen if the server is sane.