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

📄 curl.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 5 页
字号:
protocols to attempt to tunnel through the proxy instead of merely using it todo HTTP-like operations. The tunnel approach is made with the HTTP proxyCONNECT request and requires that the proxy allows direct connect to theremote port number curl wants to tunnel through to.If this option is used twice, the second will again disable proxy tunnel..IP "--pubkey <key>"(SSH) Public key file name. Allows you to provide your public key in thisseparate file.If this option is used several times, the last one will be used..IP "-P/--ftp-port <address>"(FTP) Reverses the initiator/listener roles when connecting with ftp. Thisswitch makes Curl use the PORT command instead of PASV. In practise, PORTtells the server to connect to the client's specified address and port, whilePASV asks the server for an ip address and port to connect to. <address>should be one of:.RS.IP interfacei.e "eth0" to specify which interface's IP address you want to use  (Unix only).IP "IP address"i.e "192.168.10.1" to specify exact IP number.IP "host name"i.e "my.host.domain" to specify machine.IP "-"make curl pick the same IP address that is already used for the controlconnection.REIf this option is used several times, the last one will be used. Disable theuse of PORT with \fI--ftp-pasv\fP. Disable the attempt to use the EPRT commandinstead of PORT by using \fI--disable-eprt\fP. EPRT is really PORT++..IP "-q"If used as the first parameter on the command line, the \fIcurlrc\fP configfile will not be read and used. See the \fI-K/--config\fP for details on thedefault config file search path..IP "-Q/--quote <command>"(FTP/SFTP) Send an arbitrary command to the remote FTP or SFTP server. Quotecommands are sent BEFORE the transfer is taking place (just after theinitial PWD command in an FTP transfer, to be exact). To make commandstake place after a successful transfer, prefix them with a dash '-'.To make commands get sent after libcurl has changed working directory,just before the transfer command(s), prefix the command with '+' (thisis only supported for FTP). You may specify any number of commands. Ifthe server returns failure for one of the commands, the entire operationwill be aborted. You must send syntactically correct FTP commands asRFC959 defines to FTP servers, or one of the following commands (withappropriate arguments) to SFTP servers: chgrp, chmod, chown, ln, mkdir,pwd, rename, rm, rmdir, symlink.This option can be used multiple times..IP "--random-file <file>"(SSL) Specify the path name to file containing what will be considered asrandom data. The data is used to seed the random engine for SSL connections.See also the \fI--egd-file\fP option..IP "-r/--range <range>"(HTTP/FTP)Retrieve a byte range (i.e a partial document) from a HTTP/1.1 or FTPserver. Ranges can be specified in a number of ways..RS.TP 10.B 0-499specifies the first 500 bytes.TP.B 500-999specifies the second 500 bytes.TP.B -500specifies the last 500 bytes.TP.B 9500-specifies the bytes from offset 9500 and forward.TP.B 0-0,-1specifies the first and last byte only(*)(H).TP.B 500-700,600-799specifies 300 bytes from offset 500(H).TP.B 100-199,500-599specifies two separate 100 bytes ranges(*)(H).RE(*) = NOTE that this will cause the server to reply with a multipartresponse!Only digit characters (0-9) are valid in 'start' and 'stop' of range syntax\&'start-stop'. If a non-digit character is given in the range, the server'sresponse will be indeterminable, depending on different server's configuration.You should also be aware that many HTTP/1.1 servers do not have this featureenabled, so that when you attempt to get a range, you'll instead get the wholedocument.FTP range downloads only support the simple syntax 'start-stop' (optionallywith one of the numbers omitted). It depends on the non-RFC command SIZE.If this option is used several times, the last one will be used..IP "--raw"When used, it disables all internal HTTP decoding of content or transferencodings and instead makes them passed on unaltered, raw. (Added in 7.16.2)If this option is used several times, each occurrence toggles this on/off..IP "-R/--remote-time"When used, this will make libcurl attempt to figure out the timestamp of theremote file, and if that is available make the local file get that sametimestamp.If this option is used twice, the second time disables this again..IP "--retry <num>"If a transient error is returned when curl tries to perform a transfer, itwill retry this number of times before giving up. Setting the number to 0makes curl do no retries (which is the default). Transient error means either:a timeout, an FTP 5xx response code or an HTTP 5xx response code.When curl is about to retry a transfer, it will first wait one second and thenfor all forthcoming retries it will double the waiting time until it reaches10 minutes which then will be the delay between the rest of the retries.  Byusing \fI--retry-delay\fP you disable this exponential backoff algorithm. Seealso \fI--retry-max-time\fP to limit the total time allowed forretries. (Added in 7.12.3)If this option is used multiple times, the last occurrence decide the amount..IP "--retry-delay <seconds>"Make curl sleep this amount of time between each retry when a transfer hasfailed with a transient error (it changes the default backoff time algorithmbetween retries). This option is only interesting if \fI--retry\fP is alsoused. Setting this delay to zero will make curl use the default backoff time.(Added in 7.12.3)If this option is used multiple times, the last occurrence decide the amount..IP "--retry-max-time <seconds>"The retry timer is reset before the first transfer attempt. Retries will bedone as usual (see \fI--retry\fP) as long as the timer hasn't reached thisgiven limit. Notice that if the timer hasn't reached the limit, the requestwill be made and while performing, it may take longer than this given timeperiod. To limit a single request\'s maximum time, use \fI-m/--max-time\fP.Set this option to zero to not timeout retries. (Added in 7.12.3)If this option is used multiple times, the last occurrence decide the amount..IP "-s/--silent"Silent mode. Don't show progress meter or error messages.  MakesCurl mute.If this option is used twice, the second will again disable silent mode..IP "-S/--show-error"When used with -s it makes curl show error message if it fails.If this option is used twice, the second will again disable show error..IP "--socks4 <host[:port]>"Use the specified SOCKS4 proxy. If the port number is not specified, it isassumed at port 1080. (Added in 7.15.2)This option overrides any previous use of \fI-x/--proxy\fP, as they aremutually exclusive.If this option is used several times, the last one will be used..IP "--socks5 <host[:port]>"Use the specified SOCKS5 proxy. If the port number is not specified, it isassumed at port 1080. (Added in 7.11.1)This option overrides any previous use of \fI-x/--proxy\fP, as they aremutually exclusive.If this option is used several times, the last one will be used. (This optionwas previously wrongly documented and used as --socks without the numberappended.).IP "--stderr <file>"Redirect all writes to stderr to the specified file instead. If the file nameis a plain '-', it is instead written to stdout. This option has no point whenyou're using a shell with decent redirecting capabilities.If this option is used several times, the last one will be used..IP "--tcp-nodelay"Turn on the TCP_NODELAY option. See the \fIcurl_easy_setopt(3)\fP man page fordetails about this option. (Added in 7.11.2)If this option is used several times, each occurrence toggles this on/off..IP "-t/--telnet-option <OPT=val>"Pass options to the telnet protocol. Supported options are:TTYPE=<term> Sets the terminal type.XDISPLOC=<X display> Sets the X display location.NEW_ENV=<var,val> Sets an environment variable..IP "-T/--upload-file <file>"This transfers the specified local file to the remote URL. If there is no filepart in the specified URL, Curl will append the local file name. NOTE that youmust use a trailing / on the last directory to really prove to Curl that thereis no file name or curl will think that your last directory name is the remotefile name to use. That will most likely cause the upload operation to fail. Ifthis is used on a http(s) server, the PUT command will be used.Use the file name "-" (a single dash) to use stdin instead of a given file.You can specify one -T for each URL on the command line. Each -T + URL pairspecifies what to upload and to where. curl also supports "globbing" of the -Targument, meaning that you can upload multiple files to a single URL by usingthe same URL globbing style supported in the URL, like this:curl -T "{file1,file2}" http://www.uploadtothissite.comor evencurl -T "img[1-1000].png" ftp://ftp.picturemania.com/upload/.IP "--trace <file>"Enables a full trace dump of all incoming and outgoing data, includingdescriptive information, to the given output file. Use "-" as filename to havethe output sent to stdout.This option overrides previous uses of \fI-v/--verbose\fP or\fI--trace-ascii\fP.If this option is used several times, the last one will be used..IP "--trace-ascii <file>"Enables a full trace dump of all incoming and outgoing data, includingdescriptive information, to the given output file. Use "-" as filename to havethe output sent to stdout.This is very similar to \fI--trace\fP, but leaves out the hex part and onlyshows the ASCII part of the dump. It makes smaller output that might be easierto read for untrained humans.This option overrides previous uses of \fI-v/--verbose\fP or \fI--trace\fP.If this option is used several times, the last one will be used..IP "--trace-time"Prepends a time stamp to each trace or verbose line that curl displays.(Added in 7.14.0)If this option is used several times, each occurrence will toggle it on/off..IP "-u/--user <user:password>"Specify user and password to use for server authentication. Overrides\fI-n/--netrc\fP and \fI--netrc-optional\fP.If you use an SSPI-enabled curl binary and do NTLM authentication, you canforce curl to pick up the user name and password from your environment bysimply specifying a single colon with this option: "-u :".If this option is used several times, the last one will be used..IP "-U/--proxy-user <user:password>"Specify user and password to use for proxy authentication.If you use an SSPI-enabled curl binary and do NTLM authentication, you canforce curl to pick up the user name and password from your environment bysimply specifying a single colon with this option: "-U :".If this option is used several times, the last one will be used..IP "--url <URL>"Specify a URL to fetch. This option is mostly handy when you want to specifyURL(s) in a config file.This option may be used any number of times. To control where this URL iswritten, use the \fI-o/--output\fP or the \fI-O/--remote-name\fP options..IP "-v/--verbose"Makes the fetching more verbose/talkative. Mostly usable for debugging. Linesstarting with '>' means "header data" sent by curl, '<' means "header data"received by curl that is hidden in normal cases and lines starting with '*'means additional info provided by curl.Note that if you only want HTTP headers in the output, \fI-i/--include\fPmight be option you're looking for.If you think this option still doesn't give you enough details, consider using\fI--trace\fP or \fI--trace-ascii\fP instead.This option overrides previous uses of \fI--trace-ascii\fP or \fI--trace\fP.If this option is used twice, the second will do nothing extra..IP "-V/--version"Displays information about curl and the libcurl version it uses.The first line includes the full version of curl, libcurl and other 3rd partylibraries linked with the executable.The second line (starts with "Protocols:") shows all protocols that libcurlreports to support.The third line (starts with "Features:") shows specific features libcurlreports to offer. Available features include:.RS.IP "IPv6"You can use IPv6 with this..IP "krb4"Krb4 for ftp is supported..IP "SSL"HTTPS and FTPS are supported..IP "libz"Automatic decompression of compressed files over HTTP is supported..IP "NTLM"NTLM authentication is supported..IP "GSS-Negotiate"Negotiate authentication and krb5 for ftp is supported..IP "Debug"This curl uses a libcurl built with Debug. This enables more error-trackingand memory debugging etc. For curl-developers only!.IP "AsynchDNS"

⌨️ 快捷键说明

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