= *"nginx_temp"* ]];thenecho"invalid temp dir: $temp_dir"exit1fiold_temp_files=""if[[ -n"$today"&& -n"$last_hour"]];thenold_temp_files="$(ls -trl --time-style=iso $temp_dir | awk -F' ' '{if (($6<"'$today'") || (
CURLE_QUOTE_ERROR(21) 向远程服务器发送自定义“QUOTE”命令时,其中一个命令返回的错误代码为400或更高(对于FTP)或以其他方式表示命令未成功完成。 CURLE_HTTP_RETURNED_ERROR(22) 如果CURLOPT_FAILONERROR设置为TRUE且HTTP服务器返回> = 400的错误代码,则返回此值。 CURLE_WRITE_ERROR(23) 将接收的数据写入本...
- the server returned an invalid or incomplete response => HTTP 502 - The server was acting as a gateway or proxy and received an invalid response from the upstream server. 503 - Service Unavailable(服务当前不可用),可能因为超载或停机维护。 - no server was available to handle the request =>...
CURLE_QUOTE_ERROR (21) 向远程服务器发送自定义“QUOTE”命令时,其中一个命令返回了 400 或更高(对于 FTP)的错误代码,或者以其他方式指示命令未成功完成。 CURLE_HTTP_RETURNED_ERROR (22) 如果CURLOPT_FAILONERROR设置为 TRUE 并且 HTTP 服务器返回的错误代码 >= 400,则返回此值。 CURLE_WRITE_ERROR (23)...
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 of the command. CURLE_HTTP_RETURNED_ERROR (22) ...
CURLE_HTTP_RETURNED_ERROR (22) _ 如果 CURLOPT_FAILONERROR 设置为 TRUE,且 HTTP 服务器返回 >= 400 的错误代码,就会返回此代码。 (此错误代码以前又称为 CURLE_HTTP_NOT_FOUND。) CURLE_WRITE_ERROR (23) _ 在向本地文件写入所收到的数据时发生错误,或由写入回调 (write callback) 向 libcurl 返回...
-6, --ipv6 如果curl能够将一个地址解析为多个IP版本(比如它支持ipv4和ipv6),那么这个选项告诉curl只将名称解析为IPv6地址。 -a, --append (FTP/SFTP)当在上传中使用时,这将告诉curl追加到目标文件而不是覆盖它。如果文件不存在,将创建它。注意,一些SSH服务器(包括OpenSSH)会忽略此标志。
CURLE_COULDNT_RESOLVE_HOST 6 CURLE_COULDNT_CONNECT 7 CURLE_WEIRD_SERVER_REPLY 8 CURLE_REMOTE_ACCESS_DENIED 9 a service was denied by the server due to lack of access - when login fails this is not returned. CURLE_FTP_ACCEPT_FAILED 10 - [was obsoleted in April 2006 for 7.15.4, reus...
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 data to a ...
CURLE_COULDNT_RESOLVE_HOST (6)Couldn't resolve host. The given remote host was not resolved.CURLE_COULDNT_CONNECT (7)Failed to connect() to host or proxy.CURLE_FTP_WEIRD_SERVER_REPLY (8)After connecting to a FTP server, libcurl expects to get a certain reply back. This error code ...