⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curl.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 5 页
字号:
This curl uses asynchronous name resolves..IP "SPNEGO"SPNEGO Negotiate authentication is supported..IP "Largefile"This curl supports transfers of large files, files larger than 2GB..IP "IDN"This curl supports IDN - international domain names..IP "SSPI"SSPI is supported. If you use NTLM and set a blank user name, curl willauthenticate with your current user and password..RE.IP "-w/--write-out <format>"Defines what to display on stdout after a completed and successfuloperation. The format is a string that may contain plain text mixed with anynumber of variables. The string can be specified as "string", to get read froma particular file you specify it "@filename" and to tell curl to read theformat from stdin you write "@-".The variables present in the output format will be substituted by the value ortext that curl thinks fit, as described below. All variables are specifiedlike %{variable_name} and to output a normal % you just write them like%%. You can output a newline by using \\n, a carriage return with \\r and a tabspace with \\t..B NOTE:The %-letter is a special letter in the win32-environment, where alloccurrences of % must be doubled when using this option.Available variables are at this point:.RS.TP 15.B url_effectiveThe URL that was fetched last. This is mostly meaningful if you've told curlto follow location: headers..TP.B http_codeThe numerical code that was found in the last retrieved HTTP(S) page..TP.B http_connectThe numerical code that was found in the last response (from a proxy) to acurl CONNECT request. (Added in 7.12.4).TP.B time_totalThe total time, in seconds, that the full operation lasted. The time will bedisplayed with millisecond resolution..TP.B time_namelookupThe time, in seconds, it took from the start until the name resolving wascompleted..TP.B time_connectThe time, in seconds, it took from the start until the connect to the remotehost (or proxy) was completed..TP.B time_pretransferThe time, in seconds, it took from the start until the file transfer is justabout to begin. This includes all pre-transfer commands and negotiations thatare specific to the particular protocol(s) involved..TP.B time_redirectThe time, in seconds, it took for all redirection steps include name lookup,connect, pretransfer and transfer before final transaction wasstarted. time_redirect shows the complete execution time for multipleredirections. (Added in 7.12.3).TP.B time_starttransferThe time, in seconds, it took from the start until the first byte is just aboutto be transferred. This includes time_pretransfer and also the time theserver needs to calculate the result..TP.B size_downloadThe total amount of bytes that were downloaded..TP.B size_uploadThe total amount of bytes that were uploaded..TP.B size_headerThe total amount of bytes of the downloaded headers..TP.B size_requestThe total amount of bytes that were sent in the HTTP request..TP.B speed_downloadThe average download speed that curl measured for the complete download..TP.B speed_uploadThe average upload speed that curl measured for the complete upload..TP.B content_typeThe Content-Type of the requested document, if there was any..TP.B num_connectsNumber of new connects made in the recent transfer. (Added in 7.12.3).TP.B num_redirectsNumber of redirects that were followed in the request. (Added in 7.12.3).TP.B ftp_entry_pathThe initial path libcurl ended up in when logging on to the remote FTPserver. (Added in 7.15.4).REIf this option is used several times, the last one will be used..IP "-x/--proxy <proxyhost[:port]>"Use specified HTTP proxy. If the port number is not specified, it is assumedat port 1080.This option overrides existing environment variables that sets proxy touse. If there's an environment variable setting a proxy, you can set proxy to\&"" to override it.\fBNote\fP that all operations that are performed over a HTTP proxy willtransparently be converted to HTTP. It means that certain protocol specificoperations might not be available. This is not the case if you can tunnelthrough the proxy, as done with the \fI-p/--proxytunnel\fP option.Starting with 7.14.1, the proxy host can be specified the exact same way asthe proxy environment variables, include protocol prefix (http://) andembedded user + password.If this option is used several times, the last one will be used..IP "-X/--request <command>"(HTTP) Specifies a custom request method to use when communicating with theHTTP server.  The specified request will be used instead of the methodotherwise used (which defaults to GET). Read the HTTP 1.1 specification fordetails and explanations.(FTP)Specifies a custom FTP command to use instead of LIST when doing file listswith ftp.If this option is used several times, the last one will be used..IP "-y/--speed-time <time>"If a download is slower than speed-limit bytes per second during a speed-timeperiod, the download gets aborted. If speed-time is used, the defaultspeed-limit will be 1 unless set with -y.This option controls transfers and thus will not affect slow connects etc. Ifthis is a concern for you, try the \fI--connect-timeout\fP option.If this option is used several times, the last one will be used..IP "-Y/--speed-limit <speed>"If a download is slower than this given speed, in bytes per second, forspeed-time seconds it gets aborted. speed-time is set with -Y and is 30 ifnot set.If this option is used several times, the last one will be used..IP "-z/--time-cond <date expression>"(HTTP/FTP) Request a file that has been modified later than the given time anddate, or one that has been modified before that time. The date expression canbe all sorts of date strings or if it doesn't match any internal ones, ittries to get the time from a given file name instead! See the\fIcurl_getdate(3)\fP man pages for date expression details.Start the date expression with a dash (-) to make it request for a documentthat is older than the given date/time, default is a document that is newerthan the specified date/time.If this option is used several times, the last one will be used..IP "--max-redirs <num>"Set maximum number of redirection-followings allowed. If \fI-L/--location\fPis used, this option can be used to prevent curl from following redirections\&"in absurdum". By default, the limit is set to 50 redirections. Set thisoption to -1 to make it limitless.If this option is used several times, the last one will be used..IP "-0/--http1.0"(HTTP) Forces curl to issue its requests using HTTP 1.0 instead of using itsinternally preferred: HTTP 1.1..IP "-1/--tlsv1"(SSL)Forces curl to use TSL version 1 when negotiating with a remote TLS server..IP "-2/--sslv2"(SSL)Forces curl to use SSL version 2 when negotiating with a remote SSL server..IP "-3/--sslv3"(SSL)Forces curl to use SSL version 3 when negotiating with a remote SSL server..IP "-4/--ipv4"If libcurl is capable of resolving an address to multiple IP versions (whichit is if it is ipv6-capable), this option tells libcurl to resolve names toIPv4 addresses only..IP "-6/--ipv6"If libcurl is capable of resolving an address to multiple IP versions (whichit is if it is ipv6-capable), this option tells libcurl to resolve names toIPv6 addresses only..IP "-#/--progress-bar"Make curl display progress information as a progress bar instead of thedefault statistics.If this option is used twice, the second will again disable the progress bar..SH FILES.I ~/.curlrc.RSDefault config file, see \fI-K/--config\fP for details..SH ENVIRONMENT.IP "http_proxy [protocol://]<host>[:port]"Sets proxy server to use for HTTP..IP "HTTPS_PROXY [protocol://]<host>[:port]"Sets proxy server to use for HTTPS..IP "FTP_PROXY [protocol://]<host>[:port]"Sets proxy server to use for FTP..IP "ALL_PROXY [protocol://]<host>[:port]"Sets proxy server to use if no protocol-specific proxy is set..IP "NO_PROXY <comma-separated list of hosts>"list of host names that shouldn't go through any proxy. If set to a asterisk\&'*' only, it matches all hosts..SH EXIT CODESThere exists a bunch of different error codes and their corresponding errormessages that may appear during bad conditions. At the time of this writing,the exit codes are:.IP 1Unsupported protocol. This build of curl has no support for this protocol..IP 2Failed to initialize..IP 3URL malformat. The syntax was not correct..IP 5Couldn't resolve proxy. The given proxy host could not be resolved..IP 6Couldn't resolve host. The given remote host was not resolved..IP 7Failed to connect to host..IP 8FTP weird server reply. The server sent data curl couldn't parse..IP 9FTP access denied. The server denied login or denied access to the particularresource or directory you wanted to reach. Most often you tried to change to adirectory that doesn't exist on the server..IP 11FTP weird PASS reply. Curl couldn't parse the reply sent to the PASS request..IP 13FTP weird PASV reply, Curl couldn't parse the reply sent to the PASV request..IP 14FTP weird 227 format. Curl couldn't parse the 227-line the server sent..IP 15FTP can't get host. Couldn't resolve the host IP we got in the 227-line..IP 17FTP couldn't set binary. Couldn't change transfer method to binary..IP 18Partial file. Only a part of the file was transferred..IP 19FTP couldn't download/access the given file, the RETR (or similar) commandfailed..IP 21FTP quote error. A quote command returned error from the server..IP 22HTTP page not retrieved. The requested url was not found or returned anothererror with the HTTP error code being 400 or above. This return code onlyappears if \fI-f/--fail\fP is used..IP 23Write error. Curl couldn't write data to a local filesystem or similar..IP 25FTP couldn't STOR file. The server denied the STOR operation, used for FTPuploading..IP 26Read error. Various reading problems..IP 27Out of memory. A memory allocation request failed..IP 28Operation timeout. The specified time-out period was reached according to theconditions..IP 30FTP PORT failed. The PORT command failed. Not all FTP servers support the PORTcommand, try doing a transfer using PASV instead!.IP 31FTP couldn't use REST. The REST command failed. This command is used forresumed FTP transfers..IP 33HTTP range error. The range "command" didn't work..IP 34HTTP post error. Internal post-request generation error..IP 35SSL connect error. The SSL handshaking failed..IP 36FTP bad download resume. Couldn't continue an earlier aborted download..IP 37FILE couldn't read file. Failed to open the file. Permissions?.IP 38LDAP cannot bind. LDAP bind operation failed..IP 39LDAP search failed..IP 41Function not found. A required LDAP function was not found..IP 42Aborted by callback. An application told curl to abort the operation..IP 43Internal error. A function was called with a bad parameter..IP 45Interface error. A specified outgoing interface could not be used..IP 47Too many redirects. When following redirects, curl hit the maximum amount..IP 48Unknown TELNET option specified..I

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -