📄 hugehelp.c
字号:
" the start until the first byte is\n"" just about to be transfered. This\n"" includes time_pretransfer and also\n", stdout); fputs(" the time the server needs to calcu-\n"" late the result.\n""\n"" size_download The total amount of bytes that were\n"" downloaded.\n""\n"" size_upload The total amount of bytes that were\n"" uploaded.\n""\n"" size_header The total amount of bytes of the\n"" downloaded headers.\n""\n", stdout); fputs(" size_request The total amount of bytes that were\n"" sent in the HTTP request.\n""\n"" speed_download The average download speed that curl\n"" measured for the complete download.\n""\n"" speed_upload The average upload speed that curl\n"" measured for the complete upload.\n""\n"" content_type The Content-Type of the requested\n", stdout); fputs(" document, if there was any. (Added\n"" in 7.9.5)\n""\n"" If this option is used several times, the last one will be\n"" used.\n""\n"" -x/--proxy <proxyhost[:port]>\n"" Use specified HTTP proxy. If the port number is not\n"" specified, it is assumed at port 1080.\n""\n"" This option overrides existing environment vari-\n"" ables that sets proxy to use. If there's an envi-\n", stdout); fputs(" ronment variable setting a proxy, you can set proxy\n"" to \"\" to override it.\n""\n"" Note that all operations that are performed over a\n"" HTTP proxy will transparantly be converted to HTTP.\n"" It means that certain protocol specific operations\n"" might not be available. This is not the case if you\n"" can tunnel through the proxy, as done with the\n"" -p/--proxytunnel option.\n""\n", stdout); fputs(" If this option is used several times, the last one\n"" will be used.\n""\n"" -X/--request <command>\n"" (HTTP) Specifies a custom request to use when com-\n"" municating with the HTTP server. The specified\n"" request will be used instead of the standard GET.\n"" Read the HTTP 1.1 specification for details and\n"" explanations.\n""\n"" (FTP) Specifies a custom FTP command to use instead\n", stdout); fputs(" of LIST when doing file lists with ftp.\n""\n"" If this option is used several times, the last one\n"" will be used.\n""\n"" -y/--speed-time <time>\n"" If a download is slower than speed-limit bytes per\n"" second during a speed-time period, the download\n"" gets aborted. If speed-time is used, the default\n"" speed-limit will be 1 unless set with -y.\n""\n", stdout); fputs(" This option controls transfers and thus will not\n"" affect slow connects etc. If this is a concern for\n"" you, try the --connect-timeout option.\n""\n"" If this option is used several times, the last one\n"" will be used.\n""\n"" -Y/--speed-limit <speed>\n"" If a download is slower than this given speed, in\n"" bytes per second, for speed-time seconds it gets\n", stdout); fputs(" aborted. speed-time is set with -Y and is 30 if not\n"" set.\n""\n"" If this option is used several times, the last one\n"" will be used.\n""\n"" -z/--time-cond <date expression>\n"" (HTTP) Request to get a file that has been modified\n"" later than the given time and date, or one that has\n"" been modified before that time. The date expression\n"" can be all sorts of date strings or if it doesn't\n", stdout); fputs(" match any internal ones, it tries to get the time\n"" from a given file name instead! See the GNU date(1)\n"" or curl_getdate(3) man pages for date expression\n"" details.\n""\n"" Start the date expression with a dash (-) to make\n"" it request for a document that is older than the\n"" given date/time, default is a document that is\n"" newer than the specified date/time.\n""\n", stdout); fputs(" If this option is used several times, the last one\n"" will be used.\n""\n"" -Z/--max-redirs <num>\n"" Set maximum number of redirection-followings\n"" allowed. If -L/--location is used, this option can\n"" be used to prevent curl from following redirections\n"" \"in absurdum\".\n""\n"" If this option is used several times, the last one\n"" will be used.\n""\n"" -0/--http1.0\n", stdout); fputs(" (HTTP) Forces curl to issue its requests using HTTP\n"" 1.0 instead of using its internally preferred: HTTP\n"" 1.1.\n""\n"" -1/--tlsv1\n"" (HTTPS) Forces curl to use TSL version 1 when nego-\n"" tiating with a remote TLS server.\n""\n"" -2/--sslv2\n"" (HTTPS) Forces curl to use SSL version 2 when nego-\n"" tiating with a remote SSL server.\n""\n"" -3/--sslv3\n", stdout); fputs(" (HTTPS) Forces curl to use SSL version 3 when nego-\n"" tiating with a remote SSL server.\n""\n"" -4/--ipv4\n"" If libcurl is capable of resolving an address to\n"" multiple IP versions (which it is if it is\n"" ipv6-capable), this option tells libcurl to resolve\n"" names to IPv4 addresses only. (Added in 7.10.8)\n""\n"" -6/--ipv6\n"" If libcurl is capable of resolving an address to\n", stdout); fputs(" multiple IP versions (which it is if it is\n"" ipv6-capable), this option tells libcurl to resolve\n"" names to IPv6 addresses only. (Added in 7.10.8)\n""\n"" -#/--progress-bar\n"" Make curl display progress information as a\n"" progress bar instead of the default statistics.\n""\n"" If this option is used twice, the second will again\n"" disable the progress bar.\n""\n""FILES\n"" ~/.curlrc\n", stdout); fputs(" Default config file.\n""\n""ENVIRONMENT\n"" http_proxy [protocol://]<host>[:port]\n"" Sets proxy server to use for HTTP.\n""\n"" HTTPS_PROXY [protocol://]<host>[:port]\n"" Sets proxy server to use for HTTPS.\n""\n"" FTP_PROXY [protocol://]<host>[:port]\n"" Sets proxy server to use for FTP.\n""\n"" GOPHER_PROXY [protocol://]<host>[:port]\n"" Sets proxy server to use for GOPHER.\n"" ALL_PROXY [protocol://]<host>[:port]\n", stdout); fputs(" Sets proxy server to use if no protocol-specific\n"" proxy is set.\n""\n"" NO_PROXY <comma-separated list of hosts>\n"" list of host names that shouldn't go through any\n"" proxy. If set to a asterisk\n""\n""EXIT CODES\n"" There exists a bunch of different error codes and their\n"" corresponding error messages that may appear during bad\n"" conditions. At the time of this writing, the exit codes\n"" are:\n""\n", stdout); fputs(" 1 Unsupported protocol. This build of curl has no\n"" support for this protocol.\n""\n"" 2 Failed to initialize.\n""\n"" 3 URL malformat. The syntax was not correct.\n""\n"" 4 URL user malformatted. The user-part of the URL\n"" syntax was not correct.\n""\n"" 5 Couldn't resolve proxy. The given proxy host could\n"" not be resolved.\n""\n"" 6 Couldn't resolve host. The given remote host was\n"" not resolved.\n", stdout); fputs("\n"" 7 Failed to connect to host.\n""\n"" 8 FTP weird server reply. The server sent data curl\n"" couldn't parse.\n""\n"" 9 FTP access denied. The server denied login.\n""\n"" 10 FTP user/password incorrect. Either one or both\n"" were not accepted by the server.\n""\n"" 11 FTP weird PASS reply. Curl couldn't parse the reply\n"" sent to the PASS request.\n""\n"" 12 FTP weird USER reply. Curl couldn't parse the reply\n", stdout); fputs(" sent to the USER request.\n""\n"" 13 FTP weird PASV reply, Curl couldn't parse the reply\n"" sent to the PASV request.\n""\n"" 14 FTP weird 227 format. Curl couldn't parse the\n"" 227-line the server sent.\n""\n"" 15 FTP can't get host. Couldn't resolve the host IP we\n"" got in the 227-line.\n""\n"" 16 FTP can't reconnect. Couldn't connect to the host\n"" we got in the 227-line.\n""\n", stdout); fputs(" 17 FTP couldn't set binary. Couldn't change transfer\n"" method to binary.\n""\n"" 18 Partial file. Only a part of the file was trans-\n"" fered.\n""\n"" 19 FTP couldn't download/access the given file, the\n"" RETR (or similar) command failed.\n""\n"" 20 FTP write error. The transfer was reported bad by\n"" the server.\n""\n"" 21 FTP quote error. A quote command returned error\n""\n"" from the server.\n""\n", stdout); fputs(" 22 HTTP page not retrieved. The requested url was not\n"" found or returned another error with the HTTP error\n"" code being 400 or above. This return code only\n"" appears if --fail is used.\n""\n"" 23 Write error. Curl couldn't write data to a local\n"" filesystem or similar.\n""\n"" 24 Malformed user. User name badly specified.\n""\n"" 25 FTP couldn't STOR file. The server denied the STOR\n", stdout); fputs(" operation, used for FTP uploading.\n""\n"" 26 Read error. Various reading problems.\n""\n"" 27 Out of memory. A memory allocation request failed.\n"" 28 Operation timeout. The specified time-out period\n"" was reached according to the conditions.\n""\n"" 29 FTP couldn't set ASCII. The server returned an\n"" unknown reply.\n""\n"" 30 FTP PORT failed. The PORT command failed. Not all\n", stdout); fputs(" FTP servers support the PORT command, try doing a\n"" transfer using PASV instead!\n""\n"" 31 FTP couldn't use REST. The REST command failed.\n"" This command is used for resumed FTP transfers.\n""\n"" 32 FTP couldn't use SIZE. The SIZE command failed. The\n"" command is an extension to the original FTP spec\n"" RFC 959.\n""\n"" 33
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -