Linux curl is a file transfer tool that uses URL rules to work at the command line. It supports the uploading and downloading of files, so it is a comprehensive transmission tool, but traditionally, the URL is used as the download tool.
One, Curl command parameters, there are many I have not used, do not know the right to translate, if the wrong place, please correct me. View copy print? -a/--append upload file, attach to target file -A/--user-agent <string> set user agent to send to server - anyauth can use the "any" authentication method -b/--cookie <name= String/file> cookie string or file read location - basic using HTTP Basic authentication -b/-- use-ascii writes cookies to this file after using ascii /text transfer -c/--cookie-jar <file> operations -C/--continue-at <offset> Breakpoint Cont. -d/--data < Data> http post mode transfer Data --data-ascii <data> Post data in ASCII mode --data-binary <data> post data in binary mode -- negotiate using HTTP authentication --digest use digital authentication --disable-eprt prohibit the use of eprtor lprt --disable-epsv prohibit the use of epsv -D/--dump-header <file> Write header information to this file --egd-file <file> set egd socket path for random data (SSL) --tcp-nodelay using tcp_nodelay option -e/--referer Source URL -e/--cert <cert[:p asswd]> 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 type (Der/pem/eng) (SSL) --pass <pass> private key password (SSL) -- engine <eng> encryption engine uses (SSL) . "--engine list" for list &NBSP;--CACERT&NBSP;<FILE>&NBSP;CA certificate (SSL) --capath <directory> CA directory (MADE using c_rehash) to verify peer against (SSL) --ciphers <list> ssl Password --compressed request Return is the situation of compression ( Using deflate or gzip) --connect-timeout <seconds> set maximum request time --create-dirs Create a directory hierarchy for local directories --crlf upload is to convert LF into crlf -f/--fail do not display HTTP error when connection fails --ftp-create-dirs if remote directory does not exist, create remote directory --ftp-method [multicwd/nocwd/singlecwd] Control CWD usage --ftp-pasv use PASV/EPSV instead of port --ftp-skip-pasv-ip when using PASV, ignore this IP address --ftp-ssl attempt to use SSL/TLS for FTP data transfer &NBSP;--FTP-ssl-reqd requires SSL/TLS for FTP data transfer -F/--form <name=content> Analog HTTP Form submit data -form-string <name=string> analog HTTP form submission data - g/--globoff disable URL sequences and scopes use {} and [] -G/--get send data in get way -h/--help Help -H/--header <line> Custom header information passed to server --ignore-content-length Ignore HTTP header information length -i/--include output includes protocol header information -I/--head Show only Document information read from file-j/--junk-session-cookies ignore session cookie - interface <interface> Specify network interface/address usage - krb4 < level > Enable and specified security level krb4 -j/-- junk-session-cookies read files into ignore session cookie --interface <interface> Use the specified network interface/address --krb4 <level> krb4 with the specified security level -k/--insecure Allow not to use certificates to SSLSite -K/--config specified profile read -l/--list-only list file names in FTP directory --limit-rate <rate> set transmission speed --local-port<NUM> enforce local port number -m/--max-time <seconds> Set Maximum transfer time --max-redirs <num > set the maximum number of read directories --max-filesize <bytes> set maximum downloaded files total -m/- -manual Display full manual -n/--netrc read user name and password from netrc file --netrc-optional Use .netrc or url to cover-n --ntlm Use HTTP NTLM authentication -N/--no-buffer Disable buffered output -o/--output write the output to the file