'22'=>'CURLE_HTTP_RETURNED_ERROR (22) – 如果 CURLOPT_FAILONERROR 设置为 TRUE,且 HTTP 服务器返回 >= 400 的错误代码,就会返回此代码。 (此错误代码以前又称为 CURLE_HTTP_NOT_FOUND。)', '23'=>'CURLE_WRITE_ERROR (23) – 在向本地文件写入所收到的数据时发生错误,或由写入回调 (write cal...
CURLE_QUOTE_ERROR(21) 当发送到远程服务器,自定义的“QUOTE”命令的一个命令返回的错误代码为400或更高(对于FTP)或表示不成功的完成命令。 CURLE_HTTP_RETURNED_ERROR(22) 这是返回CURLOPT_FAILONERROR设置为TRUE和HTTP服务器返回的错误代码是> = 400。 CURLE_WRITE_ERROR(23) 发生错误,写作时接收到的数据到...
Almost all "easy" interface functions return a CURLcode error code. No matter what, using thecurl_easy_setopt(3)optionCURLOPT_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.c...
error code. No matter what, using the 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. can be called to get an error string from a given CURLcode number....
CURLE_QUOTE_ERROR (21) – 在向远程服务器发送自定义 “QUOTE” 命令时,其中一个命令返回的错误代码为 400 或更大的数字(对于 FTP),或以其他方式表明命令无法成功完成。 CURLE_HTTP_RETURNED_ERROR (22) – 如果 CURLOPT_FAILONERROR 设置为 TRUE,且 HTTP 服务器返回 >= 400 的错误代码,就会返回此代码。
CURLE_REMOTE_FILE_NOT_FOUND 78 - remote file not found CURLE_SSH 79 - error from the SSH layer, somewhat generic so the error message will be of interest when this has happened CURLE_SSL_SHUTDOWN_FAILED 80 - Failed to shut down the SSL connection CURLE_AGAIN 81 - socket is not rea...
FTP quote error. A quote command returned error from the server. 22 HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f/–fail is used. 23 Write error. Curl couldn’t write...
几乎所有“简单”接口函数都返回CURLcode错误代码。无论如何,使用curl_easy_setopt选项CURLOPT_ERRORBUFFER是一个好主意,因为它将为您提供一个人类可读的错误字符串,可以提供有关错误原因的更多详细信息,而不仅仅是错误代码。可以调用curl_easy_strerror从给定的CURLcode编号中获取错误字符串。
After connecting to a FTP server, libcurl expects to get a certain reply back. This error code implies that it got a strange or bad reply. The given remote server is probably not an OK FTP server. CURLE_REMOTE_ACCESS_DENIED (9)
几乎所有“简单”接口函数都会返回CURLcode错误代码。无论如何,使用curl_easy_setopt选项CURLOPT_ERRORBUFFER是个好主意,因为它会给您一个人类可读的错误字符串,该字符串可能提供有关错误原因的更多详细信息,而不仅仅是错误代码。可以调用curl_easy_strerror从给定的 CURLcode 编号中获取错误字符串。