Libcurl failed to get a sensible result back from the server as a response to either a PASV or a EPSV command. This error code indicates that an unexpected code was returned.ĭuring an active FTP session while waiting for the server to connect, the CURLOPT_ACCEPTTIMEOUT_MS (or the internal default) timeout expired. While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar.Īfter having sent the FTP password to the server, libcurl expects a proper reply. For FTP, this occurs while trying to change to the remote directory. We were denied access to the resource given in the URL. This error code was known as as CURLE_FTP_WEIRD_SERVER_REPLY before 7.51.0. The server sent data libcurl could not parse. The given proxy host could not be resolved.Ĭouldn't resolve host. This means that a feature or option was not enabled or explicitly disabled when libcurl was built and in order to get it to function you have to get a rebuilt libcurl.Ĭouldn't resolve proxy. This is likely to be an internal error or problem, or a resource problem where something fundamental could not get done at init time.Ī requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. The support might be a compile-time option that you did not use, it can be a misspelled protocol string or just a protocol libcurl has no code for.Įarly initialization code failed. The URL you passed to libcurl used a protocol that this libcurl does not support. curl_easy_strerror can be called to get an error string from a given CURLcode number. No matter what, using the curl_easy_setopt option CURLOPT_ERRORBUFFER is a good idea as it will give you a human readable error string that may offer more details about the cause of the error than just the error code. CurlcodeĪlmost all "easy" interface functions return a CURLcode error code. Why they occur and possibly what you can do to fix the problem are also included. This man page includes most, if not all, available error codes in libcurl. Libcurl-errors - error codes in libcurl Description Curl / libcurl / API / Error Codes libcurl error codes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |