Linux curl is a file transfer tool that works under the command line using URL rules. It supports file uploads and downloads, so it is a comprehensive transfer tool, but traditionally, the URL is used as a download tool. A, Curl command parameters, there are many I have not used, do not know whether the translation is right, if the wrong place, please correct me. View copy print?-a/--append when uploading a file, attach to target file-a/--user-agent <string> set user agent to send to server-Anyauth can use "any" authentication method-b/--cookie <name=string/file> cookie string or file read location-Basic uses HTTP Basic authentication-B/--USE-ASCII using ASCII/text transfer-c/--cookie-jar <file& Gt The cookie is written to this file after the operation-c/--continue-at <offset> breakpoint Continuation-d/--data <data> HTTP post to transmit the data--data-ascii < ;d ata> Post data in ASCII mode--data-binary <data> post data in binary mode--negotiate use HTTP authentication--digest use the digital body Verification--disable-eprt prohibit use of eprt or LPRT--DISABLE-EPSV prohibit the use of Epsv-d/--dump-header <file> to write header information to the file--egd-fi Le <file> set EGD socket path for random data (SSL)--tcp-nodelay use tcp_nodelay option-e/--referer Source URL-e/--cert <cert[:p assw D]> client certificate file and password (SSL)--cert-type <type> certificate file type (Der/pem/eng) (SSL)--key <key> private key file name (SSL)--key- Type <type> private key file types (Der/pem/eng) (SSL)--pass <pass> private key password (SSL)--engine <eng> encryption engine use (SSL). "--engine list" for list--cacert <file> CA certificate (SSL)--capath <directory> CA directory (made using C_rehash) to Ver Ify peer against (SSL)--ciphers <list> SSL password--compressed requirements Return is a compressed situation (using deflate or gzip)--connect-ti Meout <seconds> Set Maximum request time--create-dirs Create a directory hierarchy of local directories--crlf upload is to convert LF into Crlf-f/--fail connection failure Display HTTP Error--ftp-create-dirs If the remote directory does not exist, create a remote directory--ftp-method [MULTICWD/NOCWD/SINGLECWD] control the use of CWD--FTP-PASV use PASV /EPSV instead of port--ftp-skip-pasv-ip when using PASV, ignore the IP address--ftp-ssl try to use SSL/TLS for FTP data transfer--FTP-SSL-REQD require SSL/TLS to FTP data Transfer-f/--form <name=content> analog HTTP form submission Data-form-string <name=string> simulate HTTP form submission Data-g/--globoff Disable Network Address sequence and scope use {} and []-g/--get to send data in a Get-h/--help help-h/--header <line> Custom header information passed to the server--ignore-content-length ignored The length of the HTTP header information-i/--include output includes protocol header information-i/--heAd only displays document information read from file-j/--junk-session-cookies ignore session cookie-interface <interface> Specify network interface/address usage-KRB4 < level > enable with specified security level KR B4-j/--junk-session-cookies read file into ignore session cookie--interface <interface> use specified network interface/address--KRB4 <level> Enable Krb4-k/--insecure with the specified security level allows you to not use the certificate to SSL site-k/--config the specified profile read-l/--list-only lists the file names under the FTP directory--limit-rate <rate > Set transfer speed--local-port<num> Force local port number-m/--max-time <seconds> set maximum transfer time--max-redirs <num> set maximum read Number of directories--max-filesize <bytes> set the maximum amount of files downloaded-m/--manual display full manual-n/--netrc read the user name and password from the Netrc file--netrc-optional use . netrc or URL to overwrite-n--NTLM use HTTP NTLM authentication-n/--no-buffer Disable buffered output-o/--output write the output to the file-o/--remote-name Writes the output to the file, retains the file name of the remote Files-p/--proxytunnel uses the HTTP proxy--proxy-anyauth to select either Proxy authentication method--proxy-basic use Basic authentication on the proxy--proxy -digest using the digital authentication on the proxy--PROXY-NTLM uses NTLM authentication on the proxy-p/--ftp-port <address> uses the port address instead of Pasv-q/--quote <c Before md> file transfer, send command to server-R/--range <range> retrieving random files from http/1.1 or FTP server byte range--range-file read (SSL)-r/--remote-time when generating files locally, keep remote file time--retr Y <num> when there is a problem with the transmission, the number of retries--retry-delay <seconds> transmission problems occur when the retry interval is set--retry-max-time <seconds> when the transport problem occurs , set the maximum retry time-s/--silent mute mode. Do not output anything-s/--show-error display error--SOCKS4
A detailed description of the Linux Curl command, as well as examples