#include "tool_setup.h" #ifndef HAVE_LIBZ /* * NEVER EVER edit this manually, fix the mkhelp.pl script instead! */ #ifdef USE_MANUAL #include "tool_hugehelp.h" #include "tool_help.h" static const char * const curlman[] = { "\t _ _ ____ _", " ___| | | | _ \\| |", " / __| | | | |_) | |", " | (__| |_| | _ <| |___", " \\___|\\___/|_| \\_\\_____|", "NAME", "\n curl - transfer a URL", "\nSYNOPSIS", "\n curl [options / URLs]", "\nDESCRIPTION", "\n curl is a tool for transferring data from or to a server using URLs. It", " supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP,", " HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP,", " SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.", "\n curl is powered by libcurl for all transfer-related features. See", " libcurl(3) for details.", "\nURL", "\n The URL syntax is protocol-dependent. You find a detailed description in", " RFC 3986.", "\n If you provide a URL without a leading protocol:// scheme, curl guesses", " what protocol you want. It then defaults to HTTP but assumes others based", " on often-used hostname prefixes. For example, for hostnames starting with", " \"ftp.\" curl assumes you want FTP.", "\n You can specify any amount of URLs on the command line. They are fetched", " in a sequential manner in the specified order unless you use --parallel.", " You can specify command line options and URLs mixed and in any order on", " the command line.", "\n curl attempts to reuse connections when doing multiple transfers, so that", " getting many files from the same server do not use multiple connects and", " setup handshakes. This improves speed. Connection reuse can only be done", " for URLs specified for a single command line invocation and cannot be", " performed between separate curl runs.", "\n Provide an IPv6 zone id in the URL with an escaped percentage sign. Like", " in", "\n\t\"http://[fe80::3%25eth0]/\"", "\n Everything provided on the command line that is not a command line option", " or its argument, curl assumes is a URL and treats it as such.", "\nGLOBBING", "\n You can specify multiple URLs or parts of URLs by writing lists within", " braces or ranges within brackets. We call this \"globbing\".", "\n Provide a list with three different names like this:", "\n\t\"http://site.{one,two,three}.com\"", "\n Do sequences of alphanumeric series by using [] as in:", "\n\t\"ftp://ftp.example.com/file[1-100].txt\"", "\n With leading zeroes:", "\n\t\"ftp://ftp.example.com/file[001-100].txt\"", "\n With letters through the alphabet:", "\n\t\"ftp://ftp.example.com/file[a-z].txt\"", "\n Nested sequences are not supported, but you can use several ones next to", " each other:", "\n\t\"http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html\"", "\n You can specify a step counter for the ranges to get every Nth number or", " letter:", "\n\t\"http://example.com/file[1-100:10].txt\"", "\n\t\"http://example.com/file[a-z:2].txt\"", "\n When using [] or {} sequences when invoked from a command line prompt, you", " probably have to put the full URL within double quotes to avoid the shell", " from interfering with it. This also goes for other characters treated", " special, like for example '&', '?' and '*'.", "\n Switch off globbing with --globoff.", "\nVARIABLES", "\n curl supports command line variables (added in 8.3.0). Set variables with", " --variable name=content or --variable name@file (where \"file\" can be stdin", " if set to a single dash (-)).", "\n Variable contents can be expanded in option parameters using \"{{name}}\" if", " the option name is prefixed with \"--expand-\". This gets the contents of", " the variable \"name\" inserted, or a blank if the name does not exist as a", " variable. Insert \"{{\" verbatim in the string by prefixing it with a", " backslash, like \"\\{{\".", "\n You access and expand environment variables by first importing them. You", " select to either require the environment variable to be set or you can", " provide a default value in case it is not already set. Plain \"--variable", " %name\" imports the variable called \"name\" but exits with an error if that", " environment variable is not already set. To provide a default value if it", " is not set, use \"--variable %name=content\" or \"--variable %name@content\".", "\n Example. Get the USER environment variable into the URL, fail if USER is", " not set:", "\n\t--variable '%USER'", "\t--expand-url = \"https://example.com/api/{{USER}}/method\"", "\n When expanding variables, curl supports a set of functions that can make", " the variable contents more convenient to use. It can trim leading and", " trailing white space with \"trim\", it can output the contents as a JSON", " quoted string with \"json\", URL encode the string with \"url\" or base64", " encode it with \"b64\". To apply functions to a variable expansion, add them", " colon separated to the right side of the variable. Variable content", " holding null bytes that are not encoded when expanded cause error.", "\n Example: get the contents of a file called $HOME/.secret into a variable", " called \"fix\". Make sure that the content is trimmed and percent-encoded", " when sent as POST data:", "\n\t--variable %HOME", "\t--expand-variable fix@{{HOME}}/.secret", "\t--expand-data \"{{fix:trim:url}}\"", "\thttps://example.com/", "\n Command line variables and expansions were added in 8.3.0.", "\nOUTPUT", "\n If not told otherwise, curl writes the received data to stdout. It can be", " instructed to instead save that data into a local file, using the --output", " or --remote-name options. If curl is given multiple URLs to transfer on", " the command line, it similarly needs multiple options for where to save", " them.", "\n curl does not parse or otherwise \"understand\" the content it gets or", " writes as output. It does no encoding or decoding, unless explicitly asked", " to with dedicated command line options.", "\nPROTOCOLS", "\n curl supports numerous protocols, or put in URL terms: schemes. Your", " particular build may not support them all.", "\n DICT", "\n\tLets you lookup words using online dictionaries.", "\n FILE", "\n\tRead or write local files. curl does not support accessing file:// URL", "\tremotely, but when running on Microsoft Windows using the native UNC", "\tapproach works.", "\n FTP(S)", "\n\tcurl supports the File Transfer Protocol with a lot of tweaks and", "\tlevers. With or without using TLS.", "\n GOPHER(S)", "\n\tRetrieve files.", "\n HTTP(S)", "\n\tcurl supports HTTP with numerous options and variations. It can speak", "\tHTTP version 0.9, 1.0, 1.1, 2 and 3 depending on build options and the", "\tcorrect command line options.", "\n IMAP(S)", "\n\tUsing the mail reading protocol, curl can download emails for you.", "\tWith or without using TLS.", "\n LDAP(S)", "\n\tcurl can do directory lookups for you, with or without TLS.", "\n MQTT", "\n\tcurl supports MQTT version 3. Downloading over MQTT equals subscribe", "\tto a topic while uploading/posting equals publish on a topic. MQTT", "\tover TLS is not supported (yet).", "\n POP3(S)", "\n\tDownloading from a pop3 server means getting a mail. With or without", "\tusing TLS.", "\n RTMP(S)", "\n\tThe Realtime Messaging Protocol is primarily used to serve streaming", "\tmedia and curl can download it.", "\n RTSP", "\n\tcurl supports RTSP 1.0 downloads.", "\n SCP", "\n\tcurl supports SSH version 2 scp transfers.", "\n SFTP", "\n\tcurl supports SFTP (draft 5) done over SSH version 2.", "\n SMB(S)", "\n\tcurl supports SMB version 1 for upload and download.", "\n SMTP(S)", "\n\tUploading contents to an SMTP server means sending an email. With or", "\twithout TLS.", "\n TELNET", "\n\tFetching a telnet URL starts an interactive session where it sends", "\twhat it reads on stdin and outputs what the server sends it.", "\n TFTP", "\n\tcurl can do TFTP downloads and uploads.", "\n WS(S)", "\n\tWebSocket done over HTTP/1. WSS implies that it works over HTTPS.", "\nPROGRESS METER", "\n curl normally displays a progress meter during operations, indicating the", " amount of transferred data, transfer speeds and estimated time left, etc.", " The progress meter displays the transfer rate in bytes per second. The", " suffixes (k, M, G, T, P) are 1024 based. For example 1k is 1024 bytes. 1M", " is 1048576 bytes.", "\n curl displays this data to the terminal by default, so if you invoke curl", " to do an operation and it is about to write data to the terminal, it", " disables the progress meter as otherwise it would mess up the output", " mixing progress meter and response data.", "\n If you want a progress meter for HTTP POST or PUT requests, you need to", " redirect the response output to a file, using shell redirect (>), --output", " or similar.", "\n This does not apply to FTP upload as that operation does not spit out any", " response data to the terminal.", "\n If you prefer a progress bar instead of the regular meter, --progress-bar", " is your friend. You can also disable the progress meter completely with", " the --silent option.", "\nVERSION", "\n This man page describes curl 8.10.1. If you use a later version, chances", " are this man page does not fully document it. If you use an earlier", " version, this document tries to include version information about which", " specific version that introduced changes.", "\n You can always learn which the latest curl version is by running", "\n\tcurl https://curl.se/info", "\n The online version of this man page is always showing the latest", " incarnation: https://curl.se/docs/manpage.html", "\nOPTIONS", "\n Options start with one or two dashes. Many of the options require an", " additional value next to them. If provided text does not start with a", " dash, it is presumed to be and treated as a URL.", "\n The short \"single-dash\" form of the options, -d for example, may be used", " with or without a space between it and its value, although a space is a", " recommended separator. The long double-dash form, --data for example,", " requires a space between it and its value.", "\n Short version options that do not need any additional values can be used", " immediately next to each other, like for example you can specify all the", " options -O, -L and -v at once as -OLv.", "\n In general, all boolean options are enabled with --option and yet again", " disabled with --no-option. That is, you use the same option name but", " prefix it with \"no-\". However, in this list we mostly only list and show", " the --option version of them.", "\n When --next is used, it resets the parser state and you start again with a", " clean option state, except for the options that are global. Global options", " retain their values and meaning even after --next.", "\n The following options are global: --fail-early, --libcurl,", " --parallel-immediate, --parallel-max, --parallel, --progress-bar, --rate,", " --show-error, --stderr, --styled-output, --trace-ascii, --trace-config,", " --trace-ids, --trace-time, --trace and --verbose.", "\nALL OPTIONS", "\n --abstract-unix-socket ", "\t (HTTP) Connect through an abstract Unix domain socket, instead of", "\t using the network. Note: netstat shows the path of an abstract", "\t socket prefixed with \"@\", however the argument should not", "\t have this leading character. If --abstract-unix-socket is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --abstract-unix-socket socketpath https://example.com", "\n\t See also --unix-socket.", "\n --alt-svc ", "\t (HTTPS) Enable the alt-svc parser. If the filename points to an", "\t existing alt-svc cache file, that gets used. After a completed", "\t transfer, the cache is saved to the filename again if it has been", "\t modified.", "\n\t Specify a \"\" filename (zero length) to avoid loading/saving and", "\t make curl just handle the cache in memory.", "\n\t If this option is used several times, curl loads contents from all", "\t the files but the last one is used for saving. --alt-svc can be", "\t used several times in a command line", "\n\t Example:", "\t curl --alt-svc svc.txt https://example.com", "\n\t Added in 7.64.1. See also --resolve and --connect-to.", "\n --anyauth", "\t (HTTP) Figure out authentication method automatically, and use the", "\t most secure one the remote site claims to support. This is done by", "\t first doing a request and checking the response-headers, thus", "\t possibly inducing an extra network round-trip. This option is used", "\t instead of setting a specific authentication method, which you can", "\t do with --basic, --digest, --ntlm, and --negotiate.", "\n\t Using --anyauth is not recommended if you do uploads from stdin,", "\t since it may require data to be sent twice and then the client", "\t must be able to rewind. If the need should arise when uploading", "\t from stdin, the upload operation fails.", "\n\t Used together with --user. Providing --anyauth multiple times has", "\t no extra effect.", "\n\t Example:", "\t curl --anyauth --user me:pwd https://example.com", "\n\t See also --proxy-anyauth, --basic and --digest.", "\n -a, --append", "\t (FTP SFTP) When used in an upload, this option makes curl append", "\t to the target file instead of overwriting it. If the remote file", "\t does not exist, it is created. Note that this flag is ignored by", "\t some SFTP servers (including OpenSSH). Providing --append multiple", "\t times has no extra effect. Disable it again with --no-append.", "\n\t Example:", "\t curl --upload-file local --append ftp://example.com/", "\n\t See also --range and --continue-at.", "\n --aws-sigv4 ", "\t (HTTP) Use AWS V4 signature authentication in the transfer.", "\n\t The provider argument is a string that is used by the algorithm", "\t when creating outgoing authentication headers.", "\n\t The region argument is a string that points to a geographic area", "\t of a resources collection (region-code) when the region name is", "\t omitted from the endpoint.", "\n\t The service argument is a string that points to a function", "\t provided by a cloud (service-code) when the service name is", "\t omitted from the endpoint. If --aws-sigv4 is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --aws-sigv4 \"aws:amz:us-east-2:es\" --user \"key:secret\" \\", "\t\t https://example.com", "\n\t Added in 7.75.0. See also --basic and --user.", "\n --basic", "\t (HTTP) Use HTTP Basic authentication with the remote host. This", "\t method is the default and this option is usually pointless, unless", "\t you use it to override a previously set option that sets a", "\t different authentication method (such as --ntlm, --digest, or", "\t --negotiate).", "\n\t Used together with --user. Providing --basic multiple times has no", "\t extra effect.", "\n\t Example:", "\t curl -u name:password --basic https://example.com", "\n\t See also --proxy-basic.", "\n --ca-native", "\t (TLS) Use the CA store from the native operating system to verify", "\t the peer. By default, curl otherwise uses a CA store provided in a", "\t single file or directory, but when using this option it interfaces", "\t the operating system's own vault.", "\n\t This option works for curl on Windows when built to use OpenSSL,", "\t wolfSSL (added in 8.3.0) or GnuTLS (added in 8.5.0). When curl on", "\t Windows is built to use Schannel, this feature is implied and curl", "\t then only uses the native CA store. Providing --ca-native multiple", "\t times has no extra effect. Disable it again with --no-ca-native.", "\n\t Example:", "\t curl --ca-native https://example.com", "\n\t Added in 8.2.0. See also --cacert, --capath, --dump-ca-embed and", "\t --insecure.", "\n --cacert ", "\t (TLS) Use the specified certificate file to verify the peer. The", "\t file may contain multiple CA certificates. The certificate(s) must", "\t be in PEM format. Normally curl is built to use a default file for", "\t this, so this option is typically used to alter that default file.", "\n\t curl recognizes the environment variable named 'CURL_CA_BUNDLE' if", "\t it is set and the TLS backend is not Schannel, and uses the given", "\t path as a path to a CA cert bundle. This option overrides that", "\t variable.", "\n\t The Windows version of curl automatically looks for a CA certs", "\t file named 'curl-ca-bundle.crt', either in the same directory as", "\t curl.exe, or in the Current Working Directory, or in any folder", "\t along your PATH.", "\n\t (iOS and macOS only) If curl is built against Secure Transport,", "\t then this option is supported for backward compatibility with", "\t other SSL engines, but it should not be set. If the option is not", "\t set, then curl uses the certificates in the system and user", "\t Keychain to verify the peer, which is the preferred method of", "\t verifying the peer's certificate chain.", "\n\t (Schannel only) This option is supported for Schannel in Windows 7", "\t or later (added in 7.60.0). This option is supported for backward", "\t compatibility with other SSL engines; instead it is recommended to", "\t use Windows' store of root certificates (the default for", "\t Schannel). If --cacert is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --cacert CA-file.txt https://example.com", "\n\t See also --capath, --dump-ca-embed and --insecure.", "\n --capath ", "\t (TLS) Use the specified certificate directory to verify the peer.", "\t Multiple paths can be provided by separated with colon (\":\") (e.g.", "\t \"path1:path2:path3\"). The certificates must be in PEM format, and", "\t if curl is built against OpenSSL, the directory must have been", "\t processed using the c_rehash utility supplied with OpenSSL. Using", "\t --capath can allow OpenSSL-powered curl to make SSL-connections", "\t much more efficiently than using --cacert if the --cacert file", "\t contains many CA certificates.", "\n\t If this option is set, the default capath value is ignored. If", "\t --capath is provided several times, the last set value is used.", "\n\t Example:", "\t curl --capath /local/directory https://example.com", "\n\t See also --cacert, --dump-ca-embed and --insecure.", "\n -E, --cert ", "\t (TLS) Use the specified client certificate file when getting a", "\t file with HTTPS, FTPS or another SSL-based protocol. The", "\t certificate must be in PKCS#12 format if using Secure Transport,", "\t or PEM format if using any other engine. If the optional password", "\t is not specified, it is queried for on the terminal. Note that", "\t this option assumes a certificate file that is the private key and", "\t the client certificate concatenated. See --cert and --key to", "\t specify them independently.", "\n\t In the portion of the argument, you must escape the", "\t character \":\" as \"\\:\" so that it is not recognized as the password", "\t delimiter. Similarly, you must escape the double quote character", "\t as \\\" so that it is not recognized as an escape character.", "\n\t If curl is built against OpenSSL library, and the engine pkcs11 is", "\t available, then a PKCS#11 URI (RFC 7512) can be used to specify a", "\t certificate located in a PKCS#11 device. A string beginning with", "\t \"pkcs11:\" is interpreted as a PKCS#11 URI. If a PKCS#11 URI is", "\t provided, then the --engine option is set as \"pkcs11\" if none was", "\t provided and the --cert-type option is set as \"ENG\" if none was", "\t provided.", "\n\t (iOS and macOS only) If curl is built against Secure Transport,", "\t then the certificate string can either be the name of a", "\t certificate/private key in the system or user keychain, or the", "\t path to a PKCS#12-encoded certificate and private key. If you want", "\t to use a file from the current directory, please precede it with", "\t \"./\" prefix, in order to avoid confusion with a nickname.", "\n\t (Schannel only) Client certificates must be specified by a path", "\t expression to a certificate store. (Loading PFX is not supported;", "\t you can import it to a store first). You can use \"\\\\\" to refer to a certificate in", "\t the system certificates store, for example,", "\t \"CurrentUser\\MY\\934a7ac6f8a5d579285a74fa61e19f23ddfe8d7a\".", "\t Thumbprint is usually a SHA-1 hex string which you can see in", "\t certificate details. Following store locations are supported:", "\t CurrentUser, LocalMachine, CurrentService, Services,", "\t CurrentUserGroupPolicy,\t LocalMachineGroupPolicy\t and", "\t LocalMachineEnterprise. If --cert is provided several times, the", "\t last set value is used.", "\n\t Example:", "\t curl --cert certfile --key keyfile https://example.com", "\n\t See also --cert-type, --key and --key-type.", "\n --cert-status", "\t (TLS) Verify the status of the server certificate by using the", "\t Certificate Status Request (aka. OCSP stapling) TLS extension.", "\n\t If this option is enabled and the server sends an invalid (e.g.", "\t expired) response, if the response suggests that the server", "\t certificate has been revoked, or no response at all is received,", "\t the verification fails.", "\n\t This support is currently only implemented in the OpenSSL and", "\t GnuTLS backends. Providing --cert-status multiple times has no", "\t extra effect. Disable it again with --no-cert-status.", "\n\t Example:", "\t curl --cert-status https://example.com", "\n\t See also --pinnedpubkey.", "\n --cert-type ", "\t (TLS) Set type of the provided client certificate. PEM, DER, ENG", "\t and P12 are recognized types.", "\n\t The default type depends on the TLS backend and is usually PEM,", "\t however for Secure Transport and Schannel it is P12. If --cert is", "\t a pkcs11: URI then ENG is the default type. If --cert-type is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --cert-type PEM --cert file https://example.com", "\n\t See also --cert, --key and --key-type.", "\n --ciphers ", "\t (TLS) Specifies which cipher suites to use in the connection if it", "\t negotiates TLS 1.2 (1.1, 1.0). The list of ciphers suites must", "\t specify valid ciphers. Read up on cipher suite details on this", "\t URL:", "\n\t https://curl.se/docs/ssl-ciphers.html If --ciphers is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --ciphers ECDHE-ECDSA-AES128-GCM-SHA256:\\", "\t\t ECDHE-RSA-AES128-GCM-SHA256 https://example.com", "\n\t See also --tls13-ciphers, --proxy-ciphers and --curves.", "\n --compressed", "\t (HTTP) Request a compressed response using one of the algorithms", "\t curl supports, and automatically decompress the content.", "\n\t Response headers are not modified when saved, so if they are", "\t \"interpreted\" separately again at a later point they might appear", "\t to be saying that the content is (still) compressed; while in fact", "\t it has already been decompressed.", "\n\t If this option is used and the server sends an unsupported", "\t encoding, curl reports an error. This is a request, not an order;", "\t the server may or may not deliver data compressed. Providing", "\t --compressed multiple times has no extra effect. Disable it again", "\t with --no-compressed.", "\n\t Example:", "\t curl --compressed https://example.com", "\n\t See also --compressed-ssh.", "\n --compressed-ssh", "\t (SCP SFTP) Enables built-in SSH compression. This is a request,", "\t not an order; the server may or may not do it. Providing", "\t --compressed-ssh multiple times has no extra effect. Disable it", "\t again with --no-compressed-ssh.", "\n\t Example:", "\t curl --compressed-ssh sftp://example.com/", "\n\t See also --compressed.", "\n -K, --config ", "\t Specify a text file to read curl arguments from. The command line", "\t arguments found in the text file are used as if they were provided", "\t on the command line.", "\n\t Options and their parameters must be specified on the same line in", "\t the file, separated by whitespace, colon, or the equals sign. Long", "\t option names can optionally be given in the config file without", "\t the initial double dashes and if so, the colon or equals", "\t characters can be used as separators. If the option is specified", "\t with one or two dashes, there can be no colon or equals character", "\t between the option and its parameter.", "\n\t If the parameter contains whitespace or starts with a colon (:) or", "\t equals sign (=), it must be specified enclosed within double", "\t quotes (\"like this\"). Within double quotes the following escape", "\t sequences are available: \\\\, \\\", \\t, \\n, \\r and \\v. A backslash", "\t preceding any other letter is ignored.", "\n\t If the first non-blank column of a config line is a '#' character,", "\t that line is treated as a comment.", "\n\t Only write one option per physical line in the config file. A", "\t single line is required to be no more than 10 megabytes (since", "\t 8.2.0).", "\n\t Specify the filename to --config as minus \"-\" to make curl read", "\t the file from stdin.", "\n\t Note that to be able to specify a URL in the config file, you need", "\t to specify it using the --url option, and not by simply writing", "\t the URL on its own line. So, it could look similar to this:", "\n\t\turl = \"https://curl.se/docs/\"", "\n\t\t# --- Example file ---", "\t\t# this is a comment", "\t\turl = \"example.com\"", "\t\toutput = \"curlhere.html\"", "\t\tuser-agent = \"superagent/1.0\"", "\n\t\t# and fetch another URL too", "\t\turl = \"example.com/docs/manpage.html\"", "\t\t-O", "\t\treferer = \"http://nowhereatall.example.com/\"", "\t\t# --- End of example file ---", "\n\t When curl is invoked, it (unless --disable is used) checks for a", "\t default config file and uses it if found, even when --config is", "\t used. The default config file is checked for in the following", "\t places in this order:", "\n\t 1) \"$CURL_HOME/.curlrc\"", "\n\t 2) \"$XDG_CONFIG_HOME/curlrc\" (Added in 7.73.0)", "\n\t 3) \"$HOME/.curlrc\"", "\n\t 4) Windows: \"%USERPROFILE%\\.curlrc\"", "\n\t 5) Windows: \"%APPDATA%\\.curlrc\"", "\n\t 6) Windows: \"%USERPROFILE%\\Application Data\\.curlrc\"", "\n\t 7) Non-Windows: use getpwuid to find the home directory", "\n\t 8) On Windows, if it finds no .curlrc file in the sequence", "\t described above, it checks for one in the same directory the curl", "\t executable is placed.", "\n\t On Windows two filenames are checked per location: .curlrc and", "\t _curlrc, preferring the former. Older versions on Windows checked", "\t for _curlrc only. --config can be used several times in a command", "\t line", "\n\t Example:", "\t curl --config file.txt https://example.com", "\n\t See also --disable.", "\n --connect-timeout ", "\t Maximum time in seconds that you allow curl's connection to take.", "\t This only limits the connection phase, so if curl connects within", "\t the given period it continues - if not it exits.", "\n\t This option accepts decimal values. The decimal value needs to be", "\t provided using a dot (.) as decimal separator - not the local", "\t version even if it might be using another separator.", "\n\t The connection phase is considered complete when the DNS lookup", "\t and requested TCP, TLS or QUIC handshakes are done. If", "\t --connect-timeout is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl --connect-timeout 20 https://example.com", "\t curl --connect-timeout 3.14 https://example.com", "\n\t See also --max-time.", "\n --connect-to ", "\t For a request intended for the \"HOST1:PORT1\" pair, connect to", "\t \"HOST2:PORT2\" instead. This option is only used to establish the", "\t network connection. It does NOT affect the hostname/port number", "\t that is used for TLS/SSL (e.g. SNI, certificate verification) or", "\t for the application protocols.", "\n\t \"HOST1\" and \"PORT1\" may be empty strings, meaning any host or any", "\t port number. \"HOST2\" and \"PORT2\" may also be empty strings,", "\t meaning use the request's original hostname and port number.", "\n\t A hostname specified to this option is compared as a string, so it", "\t needs to match the name used in request URL. It can be either", "\t numerical such as \"127.0.0.1\" or the full host name such as", "\t \"example.org\".", "\n\t Example: redirect connects from the example.com hostname to", "\t 127.0.0.1 independently of port number:", "\n\t\tcurl --connect-to example.com::127.0.0.1: https://example.com/", "\n\t Example: redirect connects from all hostnames to 127.0.0.1", "\t independently of port number:", "\n\t\tcurl --connect-to ::127.0.0.1: http://example.com/", "\n\t --connect-to can be used several times in a command line", "\n\t Example:", "\t curl --connect-to example.com:443:example.net:8443 \\", "\t\t https://example.com", "\n\t See also --resolve and --header.", "\n -C, --continue-at ", "\t Resume a previous transfer from the given byte offset. The given", "\t offset is the exact number of bytes that are skipped, counting", "\t from the beginning of the source file before it is transferred to", "\t the destination. If used with uploads, the FTP server command SIZE", "\t is not used by curl.", "\n\t Use \"-C -\" to instruct curl to automatically find out where/how to", "\t resume the transfer. It then uses the given output/input files to", "\t figure that out. If --continue-at is provided several times, the", "\t last set value is used.", "\n\t Examples:", "\t curl -C - https://example.com", "\t curl -C 400 https://example.com", "\n\t See also --range.", "\n -b, --cookie ", "\t (HTTP) This option has two slightly separate cookie sending", "\t functions.", "\n\t Either: pass the exact data to send to the HTTP server in the", "\t Cookie header. It is supposedly data previously received from the", "\t server in a \"Set-Cookie:\" line. The data should be in the format", "\t \"NAME1=VALUE1; NAME2=VALUE2\". When given a set of specific", "\t cookies, curl populates its cookie header with this content", "\t explicitly in all outgoing request(s). If multiple requests are", "\t done due to authentication, followed redirects or similar, they", "\t all get this cookie header passed on.", "\n\t Or: If no \"=\" symbol is used in the argument, it is instead", "\t treated as a filename to read previously stored cookie from. This", "\t option also activates the cookie engine which makes curl record", "\t incoming cookies, which may be handy if you are using this in", "\t combination with the --location option or do multiple URL", "\t transfers on the same invoke.", "\n\t If the filename is a single minus (\"-\"), curl reads the contents", "\t from stdin. If the filename is an empty string (\"\") and is the", "\t only cookie input, curl activates the cookie engine without any", "\t cookies.", "\n\t The file format of the file to read cookies from should be plain", "\t HTTP headers (Set-Cookie style) or the Netscape/Mozilla cookie", "\t file format.", "\n\t The file specified with --cookie is only used as input. No cookies", "\t are written to that file. To store cookies, use the --cookie-jar", "\t option.", "\n\t If you use the Set-Cookie file format and do not specify a domain", "\t then the cookie is not sent since the domain never matches. To", "\t address this, set a domain in Set-Cookie line (doing that includes", "\t subdomains) or preferably: use the Netscape format.", "\n\t Users often want to both read cookies from a file and write", "\t updated cookies back to a file, so using both --cookie and", "\t --cookie-jar in the same command line is common.", "\n\t If curl is built with PSL (Public Suffix List) support, it detects", "\t and discards cookies that are specified for such suffix domains", "\t that should not be allowed to have cookies. If curl is not built", "\t with PSL support, it has no ability to stop super cookies.", "\t --cookie can be used several times in a command line", "\n\t Examples:", "\t curl -b \"\" https://example.com", "\t curl -b cookiefile https://example.com", "\t curl -b cookiefile -c cookiefile https://example.com", "\t curl -b name=Jane https://example.com", "\n\t See also --cookie-jar and --junk-session-cookies.", "\n -c, --cookie-jar ", "\t (HTTP) Specify to which file you want curl to write all cookies", "\t after a completed operation. Curl writes all cookies from its", "\t in-memory cookie storage to the given file at the end of", "\t operations. Even if no cookies are known, a file is created so", "\t that it removes any formerly existing cookies from the file. The", "\t file uses the Netscape cookie file format. If you set the filename", "\t to a single minus, \"-\", the cookies are written to stdout.", "\n\t The file specified with --cookie-jar is only used for output. No", "\t cookies are read from the file. To read cookies, use the --cookie", "\t option. Both options can specify the same file.", "\n\t This command line option activates the cookie engine that makes", "\t curl record and use cookies. The --cookie option also activates", "\t it.", "\n\t If the cookie jar cannot be created or written to, the whole curl", "\t operation does not fail or even report an error clearly. Using", "\t --verbose gets a warning displayed, but that is the only visible", "\t feedback you get about this possibly lethal situation. If", "\t --cookie-jar is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl -c store-here.txt https://example.com", "\t curl -c store-here.txt -b read-these https://example.com", "\n\t See also --cookie and --junk-session-cookies.", "\n --create-dirs", "\t When used in conjunction with the --output option, curl creates", "\t the necessary local directory hierarchy as needed. This option", "\t creates the directories mentioned with the --output option", "\t combined with the path possibly set with --output-dir. If the", "\t combined output filename uses no directory, or if the directories", "\t it mentions already exist, no directories are created.", "\n\t Created directories are made with mode 0750 on Unix-style file", "\t systems.", "\n\t To create remote directories when using FTP or SFTP, try", "\t --ftp-create-dirs. Providing --create-dirs multiple times has no", "\t extra effect. Disable it again with --no-create-dirs.", "\n\t Example:", "\t curl --create-dirs --output local/dir/file https://example.com", "\n\t See also --ftp-create-dirs and --output-dir.", "\n --create-file-mode ", "\t (SFTP SCP FILE) When curl is used to create files remotely using", "\t one of the supported protocols, this option allows the user to set", "\t which 'mode' to set on the file at creation time, instead of the", "\t default 0644.", "\n\t This option takes an octal number as argument. If", "\t --create-file-mode is provided several times, the last set value", "\t is used.", "\n\t Example:", "\t curl --create-file-mode 0777 -T localfile sftp://example.com/new", "\n\t Added in 7.75.0. See also --ftp-create-dirs.", "\n --crlf", "\t (FTP SMTP) Convert line feeds to carriage return plus line feeds", "\t in upload. Useful for MVS (OS/390). Providing --crlf multiple", "\t times has no extra effect. Disable it again with --no-crlf.", "\n\t Example:", "\t curl --crlf -T file ftp://example.com/", "\n\t See also --use-ascii.", "\n --crlfile ", "\t (TLS) Provide a file using PEM format with a Certificate", "\t Revocation List that may specify peer certificates that are to be", "\t considered revoked. If --crlfile is provided several times, the", "\t last set value is used.", "\n\t Example:", "\t curl --crlfile rejects.txt https://example.com", "\n\t See also --cacert and --capath.", "\n --curves ", "\t (TLS) Set specific curves to use during SSL session establishment", "\t according to RFC 8422, 5.1. Multiple algorithms can be provided by", "\t separating them with \":\" (e.g. \"X25519:P-521\"). The parameter is", "\t available identically in the OpenSSL \"s_client\" and \"s_server\"", "\t utilities.", "\n\t --curves allows a OpenSSL powered curl to make SSL-connections", "\t with exactly the (EC) curve requested by the client, avoiding", "\t nontransparent client/server negotiations.", "\n\t If this option is set, the default curves list built into OpenSSL", "\t are ignored. If --curves is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --curves X25519 https://example.com", "\n\t Added in 7.73.0. See also --ciphers.", "\n -d, --data ", "\t (HTTP MQTT) Sends the specified data in a POST request to the HTTP", "\t server, in the same way that a browser does when a user has filled", "\t in an HTML form and presses the submit button. This option makes", "\t curl pass the data to the server using the content-type", "\t application/x-www-form-urlencoded. Compare to --form.", "\n\t --data-raw is almost the same but does not have a special", "\t interpretation of the @ character. To post data purely binary, you", "\t should instead use the --data-binary option. To URL-encode the", "\t value of a form field you may use --data-urlencode.", "\n\t If any of these options is used more than once on the same command", "\t line, the data pieces specified are merged with a separating", "\t &-symbol. Thus, using '-d name=daniel -d skill=lousy' would", "\t generate a post chunk that looks like 'name=daniel&skill=lousy'.", "\n\t If you start the data with the letter @, the rest should be a", "\t filename to read the data from, or - if you want curl to read the", "\t data from stdin. Posting data from a file named 'foobar' would", "\t thus be done with --data @foobar. When --data is told to read from", "\t a file like that, carriage returns, newlines and null bytes are", "\t stripped out. If you do not want the @ character to have a special", "\t interpretation use --data-raw instead.", "\n\t The data for this option is passed on to the server exactly as", "\t provided on the command line. curl does not convert, change or", "\t improve it. It is up to the user to provide the data in the", "\t correct form. --data can be used several times in a command line", "\n\t Examples:", "\t curl -d \"name=curl\" https://example.com", "\t curl -d \"name=curl\" -d \"tool=cmdline\" https://example.com", "\t curl -d @filename https://example.com", "\n\t This option is mutually exclusive with --form, --head and", "\t --upload-file. See also --data-binary, --data-urlencode and", "\t --data-raw.", "\n --data-ascii ", "\t (HTTP) This option is just an alias for --data. --data-ascii can", "\t be used several times in a command line", "\n\t Example:", "\t curl --data-ascii @file https://example.com", "\n\t See also --data-binary, --data-raw and --data-urlencode.", "\n --data-binary ", "\t (HTTP) Post data exactly as specified with no extra processing", "\t whatsoever.", "\n\t If you start the data with the letter @, the rest should be a", "\t filename. \"@-\" makes curl read the data from stdin. Data is posted", "\t in a similar manner as --data does, except that newlines and", "\t carriage returns are preserved and conversions are never done.", "\n\t Like --data the default content-type sent to the server is", "\t application/x-www-form-urlencoded. If you want the data to be", "\t treated as arbitrary binary data by the server then set the", "\t content-type to octet-stream: -H \"Content-Type:", "\t application/octet-stream\".", "\n\t If this option is used several times, the ones following the first", "\t append data as described in --data. --data-binary can be used", "\t several times in a command line", "\n\t Example:", "\t curl --data-binary @filename https://example.com", "\n\t See also --data-ascii.", "\n --data-raw ", "\t (HTTP) Post data similarly to --data but without the special", "\t interpretation of the @ character. --data-raw can be used several", "\t times in a command line", "\n\t Examples:", "\t curl --data-raw \"hello\" https://example.com", "\t curl --data-raw \"@at@at@\" https://example.com", "\n\t See also --data.", "\n --data-urlencode ", "\t (HTTP) Post data, similar to the other --data options with the", "\t exception that this performs URL-encoding.", "\n\t To be CGI-compliant, the part should begin with a name", "\t followed by a separator and a content specification. The ", "\t part can be passed to curl using one of the following syntaxes:", "\n\t content", "\n\t\tURL-encode the content and pass that on. Just be careful so", "\t\tthat the content does not contain any \"=\" or \"@\" symbols, as", "\t\tthat makes the syntax match one of the other cases below!", "\n\t =content", "\n\t\tURL-encode the content and pass that on. The preceding \"=\"", "\t\tsymbol is not included in the data.", "\n\t name=content", "\n\t\tURL-encode the content part and pass that on. Note that the", "\t\tname part is expected to be URL-encoded already.", "\n\t @filename", "\n\t\tload data from the given file (including any newlines),", "\t\tURL-encode that data and pass it on in the POST. Using \"@-\"", "\t\tmakes curl read the data from stdin.", "\n\t name@filename", "\n\t\tload data from the given file (including any newlines),", "\t\tURL-encode that data and pass it on in the POST. The name part", "\t\tgets an equal sign appended, resulting in", "\t\tname=urlencoded-file-content. Note that the name is expected", "\t\tto be URL-encoded already.", "\n\t --data-urlencode can be used several times in a command line", "\n\t Examples:", "\t curl --data-urlencode name=val https://example.com", "\t curl --data-urlencode =encodethis https://example.com", "\t curl --data-urlencode name@file https://example.com", "\t curl --data-urlencode @fileonly https://example.com", "\n\t See also --data and --data-raw.", "\n --delegation ", "\t (GSS/kerberos) Set LEVEL what curl is allowed to delegate when it", "\t comes to user credentials.", "\n\t none", "\n\t\tDo not allow any delegation.", "\n\t policy", "\n\t\tDelegates if and only if the OK-AS-DELEGATE flag is set in the", "\t\tKerberos service ticket, which is a matter of realm policy.", "\n\t always", "\n\t\tUnconditionally allow the server to delegate.", "\n\t If --delegation is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --delegation \"none\" https://example.com", "\n\t See also --insecure and --ssl.", "\n --digest", "\t (HTTP) Enables HTTP Digest authentication. This authentication", "\t scheme avoids sending the password over the wire in clear text.", "\t Use this in combination with the normal --user option to set", "\t username and password. Providing --digest multiple times has no", "\t extra effect. Disable it again with --no-digest.", "\n\t Example:", "\t curl -u name:password --digest https://example.com", "\n\t This option is mutually exclusive with --basic, --ntlm and", "\t --negotiate. See also --user, --proxy-digest and --anyauth.", "\n -q, --disable", "\t If used as the first parameter on the command line, the curlrc", "\t config file is not read or used. See the --config for details on", "\t the default config file search path. Providing --disable multiple", "\t times has no extra effect. Disable it again with --no-disable.", "\n\t Example:", "\t curl -q https://example.com", "\n\t See also --config.", "\n --disable-eprt", "\t (FTP) Disable the use of the EPRT and LPRT commands when doing", "\t active FTP transfers. Curl normally first attempts to use EPRT", "\t before using PORT, but with this option, it uses PORT right away.", "\t EPRT is an extension to the original FTP protocol, and does not", "\t work on all servers, but enables more functionality in a better", "\t way than the traditional PORT command.", "\n\t --eprt can be used to explicitly enable EPRT again and --no-eprt", "\t is an alias for --disable-eprt.", "\n\t If the server is accessed using IPv6, this option has no effect as", "\t EPRT is necessary then.", "\n\t Disabling EPRT only changes the active behavior. If you want to", "\t switch to passive mode you need to not use --ftp-port or force it", "\t with --ftp-pasv. Providing --disable-eprt multiple times has no", "\t extra effect. Disable it again with --no-disable-eprt.", "\n\t Example:", "\t curl --disable-eprt ftp://example.com/", "\n\t See also --disable-epsv and --ftp-port.", "\n --disable-epsv", "\t (FTP) Disable the use of the EPSV command when doing passive FTP", "\t transfers. Curl normally first attempts to use EPSV before PASV,", "\t but with this option, it does not try EPSV.", "\n\t --epsv can be used to explicitly enable EPSV again and --no-epsv", "\t is an alias for --disable-epsv.", "\n\t If the server is an IPv6 host, this option has no effect as EPSV", "\t is necessary then.", "\n\t Disabling EPSV only changes the passive behavior. If you want to", "\t switch to active mode you need to use --ftp-port. Providing", "\t --disable-epsv multiple times has no extra effect. Disable it", "\t again with --no-disable-epsv.", "\n\t Example:", "\t curl --disable-epsv ftp://example.com/", "\n\t See also --disable-eprt and --ftp-port.", "\n --disallow-username-in-url", "\t Exit with error if passed a URL containing a username. Probably", "\t most useful when the URL is being provided at runtime or similar.", "\t Providing --disallow-username-in-url multiple times has no extra", "\t effect. Disable it again with --no-disallow-username-in-url.", "\n\t Example:", "\t curl --disallow-username-in-url https://example.com", "\n\t Added in 7.61.0. See also --proto.", "\n --dns-interface ", "\t (DNS) Send outgoing DNS requests through the given interface. This", "\t option is a counterpart to --interface (which does not affect", "\t DNS). The supplied string must be an interface name (not an", "\t address). If --dns-interface is provided several times, the last", "\t set value is used.", "\n\t Example:", "\t curl --dns-interface eth0 https://example.com", "\n\t --dns-interface requires that libcurl is built to support c-ares.", "\t See also --dns-ipv4-addr and --dns-ipv6-addr.", "\n --dns-ipv4-addr
", "\t (DNS) Bind to a specific IP address when making IPv4 DNS requests,", "\t so that the DNS requests originate from this address. The argument", "\t should be a single IPv4 address. If --dns-ipv4-addr is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --dns-ipv4-addr 10.1.2.3 https://example.com", "\n\t --dns-ipv4-addr requires that libcurl is built to support c-ares.", "\t See also --dns-interface and --dns-ipv6-addr.", "\n --dns-ipv6-addr
", "\t (DNS) Bind to a specific IP address when making IPv6 DNS requests,", "\t so that the DNS requests originate from this address. The argument", "\t should be a single IPv6 address. If --dns-ipv6-addr is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --dns-ipv6-addr 2a04:4e42::561 https://example.com", "\n\t --dns-ipv6-addr requires that libcurl is built to support c-ares.", "\t See also --dns-interface and --dns-ipv4-addr.", "\n --dns-servers ", "\t (DNS) Set the list of DNS servers to be used instead of the system", "\t default. The list of IP addresses should be separated with commas.", "\t Port numbers may also optionally be given, appended to the IP", "\t address separated with a colon. If --dns-servers is provided", "\t several times, the last set value is used.", "\n\t Examples:", "\t curl --dns-servers 192.168.0.1,192.168.0.2 https://example.com", "\t curl --dns-servers 10.0.0.1:53 https://example.com", "\n\t --dns-servers requires that libcurl is built to support c-ares.", "\t See also --dns-interface and --dns-ipv4-addr.", "\n --doh-cert-status", "\t Same as --cert-status but used for DoH (DNS-over-HTTPS).", "\n\t Verifies the status of the DoH servers' certificate by using the", "\t Certificate Status Request (aka. OCSP stapling) TLS extension.", "\n\t If this option is enabled and the DoH server sends an invalid", "\t (e.g. expired) response, if the response suggests that the server", "\t certificate has been revoked, or no response at all is received,", "\t the verification fails.", "\n\t This support is currently only implemented in the OpenSSL and", "\t GnuTLS backends. Providing --doh-cert-status multiple times has no", "\t extra effect. Disable it again with --no-doh-cert-status.", "\n\t Example:", "\t curl --doh-cert-status --doh-url https://doh.example \\", "\t\t https://example.com", "\n\t Added in 7.76.0. See also --doh-insecure.", "\n --doh-insecure", "\t By default, every connection curl makes to a DoH server is", "\t verified to be secure before the transfer takes place. This option", "\t tells curl to skip the verification step and proceed without", "\t checking.", "\n\t WARNING: using this option makes the DoH transfer and name", "\t resolution insecure.", "\n\t This option is equivalent to --insecure and --proxy-insecure but", "\t used for DoH (DNS-over-HTTPS) only. Providing --doh-insecure", "\t multiple times has no extra effect. Disable it again with", "\t --no-doh-insecure.", "\n\t Example:", "\t curl --doh-insecure --doh-url https://doh.example \\", "\t\t https://example.com", "\n\t Added in 7.76.0. See also --doh-url, --insecure and", "\t --proxy-insecure.", "\n --doh-url ", "\t Specifies which DNS-over-HTTPS (DoH) server to use to resolve", "\t hostnames, instead of using the default name resolver mechanism.", "\t The URL must be HTTPS.", "\n\t Some SSL options that you set for your transfer also applies to", "\t DoH since the name lookups take place over SSL. However, the", "\t certificate verification settings are not inherited but are", "\t controlled separately via --doh-insecure and --doh-cert-status.", "\n\t By default, DoH is bypassed when initially looking up DNS records", "\t of the DoH server. You can specify the IP address(es) of the DoH", "\t server with --resolve to avoid this.", "\n\t This option is unset if an empty string \"\" is used as the URL.", "\t (Added in 7.85.0) If --doh-url is provided several times, the last", "\t set value is used.", "\n\t Examples:", "\t curl --doh-url https://doh.example https://example.com", "\t curl --doh-url https://doh.example --resolve \\", "\t\t doh.example:443:192.0.2.1 https://example.com", "\n\t Added in 7.62.0. See also --doh-insecure.", "\n --dump-ca-embed", "\t (TLS) Write the CA bundle embedded in curl to standard output,", "\t then quit.", "\n\t If curl was not built with a default CA bundle embedded, the", "\t output is empty. Providing --dump-ca-embed multiple times has no", "\t extra effect. Disable it again with --no-dump-ca-embed.", "\n\t Example:", "\t curl --dump-ca-embed", "\n\t Added in 8.10.0. See also --ca-native, --cacert, --capath,", "\t --proxy-ca-native, --proxy-cacert and --proxy-capath.", "\n -D, --dump-header ", "\t (HTTP FTP) Write the received protocol headers to the specified", "\t file. If no headers are received, the use of this option creates", "\t an empty file. Specify \"-\" as filename (a single minus) to have it", "\t written to stdout.", "\n\t Starting in curl 8.10.0, specify \"%\" (a single percent sign) as", "\t filename writes the output to stderr.", "\n\t When used in FTP, the FTP server response lines are considered", "\t being \"headers\" and thus are saved there.", "\n\t Having multiple transfers in one set of operations (i.e. the URLs", "\t in one --next clause), appends them to the same file, separated by", "\t a blank line. If --dump-header is provided several times, the last", "\t set value is used.", "\n\t Examples:", "\t curl --dump-header store.txt https://example.com", "\t curl --dump-header - https://example.com -o save", "\n\t See also --output.", "\n --ech ", "\t (HTTPS) Specifies how to do ECH (Encrypted Client Hello).", "\n\t The values allowed for can be:", "\n\t false", "\n\t\tDo not attempt ECH", "\n\t grease", "\n\t\tSend a GREASE ECH extension", "\n\t true", "\n\t\tAttempt ECH if possible, but do not fail if ECH is not", "\t\tattempted. (The connection fails if ECH is attempted but", "\t\tfails.)", "\n\t hard", "\n\t\tAttempt ECH and fail if that is not possible. ECH only works", "\t\twith TLS 1.3 and also requires using DoH or providing an", "\t\tECHConfigList on the command line.", "\n\t ecl:", "\n\t\tA base64 encoded ECHConfigList that is used for ECH.", "\n\t pn:", "\n\t\tA name to use to over-ride the \"public_name\" field of an", "\t\tECHConfigList (only available with OpenSSL TLS support)", "\n\t Errors", "\n\t\tMost errors cause error CURLE_ECH_REQUIRED (101).", "\n\t If --ech is provided several times, the last set value is used.", "\n\t Example:", "\t curl --ech true https://example.com", "\n\t Added in 8.8.0. See also --doh-url.", "\n --egd-file ", "\t (TLS) Deprecated option (added in 7.84.0). Prior to that it only", "\t had an effect on curl if built to use old versions of OpenSSL.", "\n\t Specify the path name to the Entropy Gathering Daemon socket. The", "\t socket is used to seed the random engine for SSL connections. If", "\t --egd-file is provided several times, the last set value is used.", "\n\t Example:", "\t curl --egd-file /random/here https://example.com", "\n\t See also --random-file.", "\n --engine ", "\t (TLS) Select the OpenSSL crypto engine to use for cipher", "\t operations. Use --engine list to print a list of build-time", "\t supported engines. Note that not all (and possibly none) of the", "\t engines may be available at runtime. If --engine is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --engine flavor https://example.com", "\n\t See also --ciphers and --curves.", "\n --etag-compare ", "\t (HTTP) Make a conditional HTTP request for the specific ETag read", "\t from the given file by sending a custom If-None-Match header using", "\t the stored ETag.", "\n\t For correct results, make sure that the specified file contains", "\t only a single line with the desired ETag. An empty file is parsed", "\t as an empty ETag.", "\n\t Use the option --etag-save to first save the ETag from a response,", "\t and then use this option to compare against the saved ETag in a", "\t subsequent request. If --etag-compare is provided several times,", "\t the last set value is used.", "\n\t Example:", "\t curl --etag-compare etag.txt https://example.com", "\n\t Added in 7.68.0. See also --etag-save and --time-cond.", "\n --etag-save ", "\t (HTTP) Save an HTTP ETag to the specified file. An ETag is a", "\t caching related header, usually returned in a response.", "\n\t If no ETag is sent by the server, an empty file is created. If", "\t --etag-save is provided several times, the last set value is used.", "\n\t Example:", "\t curl --etag-save storetag.txt https://example.com", "\n\t Added in 7.68.0. See also --etag-compare.", "\n --expect100-timeout ", "\t (HTTP) Maximum time in seconds that you allow curl to wait for a", "\t 100-continue response when curl emits an Expects: 100-continue", "\t header in its request. By default curl waits one second. This", "\t option accepts decimal values. When curl stops waiting, it", "\t continues as if a response was received.", "\n\t The decimal value needs to be provided using a dot (\".\") as", "\t decimal separator - not the local version even if it might be", "\t using another separator. If --expect100-timeout is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --expect100-timeout 2.5 -T file https://example.com", "\n\t See also --connect-timeout.", "\n -f, --fail", "\t (HTTP) Fail with error code 22 and with no response body output at", "\t all for HTTP transfers returning HTTP response codes at 400 or", "\t greater.", "\n\t In normal cases when an HTTP server fails to deliver a document,", "\t it returns a body of text stating so (which often also describes", "\t why and more) and a 4xx HTTP response code. This command line", "\t option prevents curl from outputting that data and instead returns", "\t error 22 early. By default, curl does not consider HTTP response", "\t codes to indicate failure.", "\n\t To get both the error code and also save the content, use", "\t --fail-with-body instead.", "\n\t This method is not fail-safe and there are occasions where", "\t non-successful response codes slip through, especially when", "\t authentication is involved (response codes 401 and 407). Providing", "\t --fail multiple times has no extra effect. Disable it again with", "\t --no-fail.", "\n\t Example:", "\t curl --fail https://example.com", "\n\t This option is mutually exclusive with --fail-with-body. See also", "\t --fail-with-body and --fail-early.", "\n --fail-early", "\t Fail and exit on the first detected transfer error.", "\n\t When curl is used to do multiple transfers on the command line, it", "\t attempts to operate on each given URL, one by one. By default, it", "\t ignores errors if there are more URLs given and the last URL's", "\t success determines the error code curl returns. Early failures are", "\t \"hidden\" by subsequent successful transfers.", "\n\t Using this option, curl instead returns an error on the first", "\t transfer that fails, independent of the amount of URLs that are", "\t given on the command line. This way, no transfer failures go", "\t undetected by scripts and similar.", "\n\t This option does not imply --fail, which causes transfers to fail", "\t due to the server's HTTP status code. You can combine the two", "\t options, however note --fail is not global and is therefore", "\t contained by --next.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --fail-early multiple times has no extra", "\t effect. Disable it again with --no-fail-early.", "\n\t Example:", "\t curl --fail-early https://example.com https://two.example", "\n\t See also --fail and --fail-with-body.", "\n --fail-with-body", "\t (HTTP) Return an error on server errors where the HTTP response", "\t code is 400 or greater). In normal cases when an HTTP server fails", "\t to deliver a document, it returns an HTML document stating so", "\t (which often also describes why and more). This option allows curl", "\t to output and save that content but also to return error 22.", "\n\t This is an alternative option to --fail which makes curl fail for", "\t the same circumstances but without saving the content. Providing", "\t --fail-with-body multiple times has no extra effect. Disable it", "\t again with --no-fail-with-body.", "\n\t Example:", "\t curl --fail-with-body https://example.com", "\n\t This option is mutually exclusive with --fail. Added in 7.76.0.", "\t See also --fail and --fail-early.", "\n --false-start", "\t (TLS) Use false start during the TLS handshake. False start is a", "\t mode where a TLS client starts sending application data before", "\t verifying the server's Finished message, thus saving a round trip", "\t when performing a full handshake.", "\n\t This functionality is currently only implemented in the Secure", "\t Transport (on iOS 7.0 or later, or macOS 10.9 or later) backend.", "\t Providing --false-start multiple times has no extra effect.", "\t Disable it again with --no-false-start.", "\n\t Example:", "\t curl --false-start https://example.com", "\n\t See also --tcp-fastopen.", "\n -F, --form ", "\t (HTTP SMTP IMAP) For the HTTP protocol family, emulate a filled-in", "\t form in which a user has pressed the submit button. This makes", "\t curl POST data using the Content-Type multipart/form-data", "\t according to RFC 2388.", "\n\t For SMTP and IMAP protocols, this composes a multipart mail", "\t message to transmit.", "\n\t This enables uploading of binary files etc. To force the 'content'", "\t part to be a file, prefix the filename with an @ sign. To just get", "\t the content part from a file, prefix the filename with the symbol", "\t <. The difference between @ and < is then that @ makes a file get", "\t attached in the post as a file upload, while the < makes a text", "\t field and just get the contents for that text field from a file.", "\n\t Read content from stdin instead of a file by using a single \"-\" as", "\t filename. This goes for both @ and < constructs. When stdin is", "\t used, the contents is buffered in memory first by curl to", "\t determine its size and allow a possible resend. Defining a part's", "\t data from a named non-regular file (such as a named pipe or", "\t similar) is not subject to buffering and is instead read at", "\t transmission time; since the full size is unknown before the", "\t transfer starts, such data is sent as chunks by HTTP and rejected", "\t by IMAP.", "\n\t Example: send an image to an HTTP server, where 'profile' is the", "\t name of the form-field to which the file portrait.jpg is the", "\t input:", "\n\t\tcurl -F profile=@portrait.jpg https://example.com/upload.cgi", "\n\t Example: send your name and shoe size in two text fields to the", "\t server:", "\n\t\tcurl -F name=John -F shoesize=11 https://example.com/", "\n\t Example: send your essay in a text field to the server. Send it as", "\t a plain text field, but get the contents for it from a local file:", "\n\t\tcurl -F \"story=HTML message;type=text/html' \\", "\t\t -F '=)' -F '=@textfile.txt' ... smtp://example.com", "\n\t Data can be encoded for transfer using encoder=. Available", "\t encodings are binary and 8bit that do nothing else than adding the", "\t corresponding Content-Transfer-Encoding header, 7bit that only", "\t rejects 8-bit characters with a transfer error, quoted-printable", "\t and base64 that encodes data according to the corresponding", "\t schemes, limiting lines length to 76 characters.", "\n\t Example: send multipart mail with a quoted-printable text message", "\t and a base64 attached file:", "\n\t\tcurl -F '=text message;encoder=quoted-printable' \\", "\t\t -F '=@localfile;encoder=base64' ... smtp://example.com", "\n\t See further examples and details in the MANUAL. --form can be used", "\t several times in a command line", "\n\t Example:", "\t curl --form \"name=curl\" --form \"file=@loadthis\" \\", "\t\t https://example.com", "\n\t This option is mutually exclusive with --data, --head and", "\t --upload-file. See also --data, --form-string and --form-escape.", "\n --form-escape", "\t (HTTP imap smtp) Pass on names of multipart form fields and files", "\t using backslash-escaping instead of percent-encoding. If", "\t --form-escape is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --form-escape -F 'field\\name=curl' -F 'file=@load\"this' \\", "\t\t https://example.com", "\n\t Added in 7.81.0. See also --form.", "\n --form-string ", "\t (HTTP SMTP IMAP) Similar to --form except that the value string", "\t for the named parameter is used literally. Leading @ and <", "\t characters, and the \";type=\" string in the value have no special", "\t meaning. Use this in preference to --form if there is any", "\t possibility that the string value may accidentally trigger the @", "\t or < features of --form. --form-string can be used several times", "\t in a command line", "\n\t Example:", "\t curl --form-string \"name=data\" https://example.com", "\n\t See also --form.", "\n --ftp-account ", "\t (FTP) When an FTP server asks for \"account data\" after username", "\t and password has been provided, this data is sent off using the", "\t ACCT command. If --ftp-account is provided several times, the last", "\t set value is used.", "\n\t Example:", "\t curl --ftp-account \"mr.robot\" ftp://example.com/", "\n\t See also --user.", "\n --ftp-alternative-to-user ", "\t (FTP) If authenticating with the USER and PASS commands fails,", "\t send this command. When connecting to Tumbleweed's Secure", "\t Transport server over FTPS using a client certificate, using \"SITE", "\t AUTH\" tells the server to retrieve the username from the", "\t certificate. If --ftp-alternative-to-user is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --ftp-alternative-to-user \"U53r\" ftp://example.com", "\n\t See also --ftp-account and --user.", "\n --ftp-create-dirs", "\t (FTP SFTP) When an FTP or SFTP URL/operation uses a path that does", "\t not currently exist on the server, the standard behavior of curl", "\t is to fail. Using this option, curl instead attempts to create", "\t missing directories. Providing --ftp-create-dirs multiple times", "\t has no extra effect. Disable it again with --no-ftp-create-dirs.", "\n\t Example:", "\t curl --ftp-create-dirs -T file ftp://example.com/remote/path/file", "\n\t See also --create-dirs.", "\n --ftp-method ", "\t (FTP) Control what method curl should use to reach a file on an", "\t FTP(S) server. The method argument should be one of the following", "\t alternatives:", "\n\t multicwd", "\n\t\tDo a single CWD operation for each path part in the given URL.", "\t\tFor deep hierarchies this means many commands. This is how RFC", "\t\t1738 says it should be done. This is the default but the", "\t\tslowest behavior.", "\n\t nocwd", "\n\t\tDo no CWD at all. curl does SIZE, RETR, STOR etc and gives the", "\t\tfull path to the server for each of these commands. This is", "\t\tthe fastest behavior.", "\n\t singlecwd", "\n\t\tDo one CWD with the full target directory and then operate on", "\t\tthe file \"normally\" (like in the multicwd case). This is", "\t\tsomewhat more standards compliant than \"nocwd\" but without the", "\t\tfull penalty of \"multicwd\".", "\n\t If --ftp-method is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl --ftp-method multicwd ftp://example.com/dir1/dir2/file", "\t curl --ftp-method nocwd ftp://example.com/dir1/dir2/file", "\t curl --ftp-method singlecwd ftp://example.com/dir1/dir2/file", "\n\t See also --list-only.", "\n --ftp-pasv", "\t (FTP) Use passive mode for the data connection. Passive is the", "\t internal default behavior, but using this option can be used to", "\t override a previous --ftp-port option.", "\n\t Reversing an enforced passive really is not doable but you must", "\t then instead enforce the correct --ftp-port again.", "\n\t Passive mode means that curl tries the EPSV command first and then", "\t PASV, unless --disable-epsv is used. Providing --ftp-pasv multiple", "\t times has no extra effect. Disable it again with --no-ftp-pasv.", "\n\t Example:", "\t curl --ftp-pasv ftp://example.com/", "\n\t See also --disable-epsv.", "\n -P, --ftp-port
", "\t (FTP) Reverses the default initiator/listener roles when", "\t connecting with FTP. This option makes curl use active mode. curl", "\t then commands the server to connect back to the client's specified", "\t address and port, while passive mode asks the server to setup an", "\t IP address and port for it to connect to.
should be one", "\t of:", "\n\t interface", "\n\t\te.g. eth0 to specify which interface's IP address you want to", "\t\tuse (Unix only)", "\n\t IP address", "\n\t\te.g. 192.168.10.1 to specify the exact IP address", "\n\t hostname", "\n\t\te.g. my.host.domain to specify the machine", "\n\t -", "\n\t\tmake curl pick the same IP address that is already used for", "\t\tthe control connection. This is the recommended choice.", "\t\tDisable the use of PORT with --ftp-pasv. Disable the attempt", "\t\tto use the EPRT command instead of PORT by using", "\t\t--disable-eprt. EPRT is really PORT++.", "\n\t\tYou can also append \":[start]-[end]\" to the right of the", "\t\taddress, to tell curl what TCP port range to use. That means", "\t\tyou specify a port range, from a lower to a higher number. A", "\t\tsingle number works as well, but do note that it increases the", "\t\trisk of failure since the port may not be available.", "\n\t If --ftp-port is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl -P - ftp:/example.com", "\t curl -P eth0 ftp:/example.com", "\t curl -P 192.168.0.2 ftp:/example.com", "\n\t See also --ftp-pasv and --disable-eprt.", "\n --ftp-pret", "\t (FTP) Send a PRET command before PASV (and EPSV). Certain FTP", "\t servers, mainly drftpd, require this non-standard command for", "\t directory listings as well as up and downloads in PASV mode.", "\t Providing --ftp-pret multiple times has no extra effect. Disable", "\t it again with --no-ftp-pret.", "\n\t Example:", "\t curl --ftp-pret ftp://example.com/", "\n\t See also --ftp-port and --ftp-pasv.", "\n --ftp-skip-pasv-ip", "\t (FTP) Do not use the IP address the server suggests in its", "\t response to curl's PASV command when curl connects the data", "\t connection. Instead curl reuses the same IP address it already", "\t uses for the control connection.", "\n\t This option is enabled by default (added in 7.74.0).", "\n\t This option has no effect if PORT, EPRT or EPSV is used instead of", "\t PASV. Providing --ftp-skip-pasv-ip multiple times has no extra", "\t effect. Disable it again with --no-ftp-skip-pasv-ip.", "\n\t Example:", "\t curl --ftp-skip-pasv-ip ftp://example.com/", "\n\t See also --ftp-pasv.", "\n --ftp-ssl-ccc", "\t (FTP) Use CCC (Clear Command Channel) Shuts down the SSL/TLS layer", "\t after authenticating. The rest of the control channel", "\t communication is be unencrypted. This allows NAT routers to follow", "\t the FTP transaction. The default mode is passive. Providing", "\t --ftp-ssl-ccc multiple times has no extra effect. Disable it again", "\t with --no-ftp-ssl-ccc.", "\n\t Example:", "\t curl --ftp-ssl-ccc ftps://example.com/", "\n\t See also --ssl and --ftp-ssl-ccc-mode.", "\n --ftp-ssl-ccc-mode ", "\t (FTP) Sets the CCC mode. The passive mode does not initiate the", "\t shutdown, but instead waits for the server to do it, and does not", "\t reply to the shutdown from the server. The active mode initiates", "\t the shutdown and waits for a reply from the server. Providing", "\t --ftp-ssl-ccc-mode multiple times has no extra effect. Disable it", "\t again with --no-ftp-ssl-ccc-mode.", "\n\t Example:", "\t curl --ftp-ssl-ccc-mode active --ftp-ssl-ccc ftps://example.com/", "\n\t See also --ftp-ssl-ccc.", "\n --ftp-ssl-control", "\t (FTP) Require SSL/TLS for the FTP login, clear for transfer.", "\t Allows secure authentication, but non-encrypted data transfers for", "\t efficiency. Fails the transfer if the server does not support", "\t SSL/TLS. Providing --ftp-ssl-control multiple times has no extra", "\t effect. Disable it again with --no-ftp-ssl-control.", "\n\t Example:", "\t curl --ftp-ssl-control ftp://example.com", "\n\t See also --ssl.", "\n -G, --get", "\t (HTTP) When used, this option makes all data specified with", "\t --data, --data-binary or --data-urlencode to be used in an HTTP", "\t GET request instead of the POST request that otherwise would be", "\t used. curl appends the provided data to the URL as a query string.", "\n\t If used in combination with --head, the POST data is instead", "\t appended to the URL with a HEAD request. Providing --get multiple", "\t times has no extra effect. Disable it again with --no-get.", "\n\t Examples:", "\t curl --get https://example.com", "\t curl --get -d \"tool=curl\" -d \"age=old\" https://example.com", "\t curl --get -I -d \"tool=curl\" https://example.com", "\n\t See also --data and --request.", "\n -g, --globoff", "\t Switch off the URL globbing function. When you set this option,", "\t you can specify URLs that contain the letters {}[] without having", "\t curl itself interpret them. Note that these letters are not normal", "\t legal URL contents but they should be encoded according to the URI", "\t standard. Providing --globoff multiple times has no extra effect.", "\t Disable it again with --no-globoff.", "\n\t Example:", "\t curl -g \"https://example.com/{[]}}}}\"", "\n\t See also --config and --disable.", "\n --happy-eyeballs-timeout-ms ", "\t Happy Eyeballs is an algorithm that attempts to connect to both", "\t IPv4 and IPv6 addresses for dual-stack hosts, giving IPv6 a", "\t head-start of the specified number of milliseconds. If the IPv6", "\t address cannot be connected to within that time, then a connection", "\t attempt is made to the IPv4 address in parallel. The first", "\t connection to be established is the one that is used.", "\n\t The range of suggested useful values is limited. Happy Eyeballs", "\t RFC 6555 says \"It is RECOMMENDED that connection attempts be paced", "\t 150-250 ms apart to balance human factors against network load.\"", "\t libcurl currently defaults to 200 ms. Firefox and Chrome currently", "\t default to 300 ms. If --happy-eyeballs-timeout-ms is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --happy-eyeballs-timeout-ms 500 https://example.com", "\n\t See also --max-time and --connect-timeout.", "\n --haproxy-clientip ", "\t (HTTP) Sets a client IP in HAProxy PROXY protocol v1 header at the", "\t beginning of the connection.", "\n\t For valid requests, IPv4 addresses must be indicated as a series", "\t of exactly 4 integers in the range [0..255] inclusive written in", "\t decimal representation separated by exactly one dot between each", "\t other. Heading zeroes are not permitted in front of numbers in", "\t order to avoid any possible confusion with octal numbers. IPv6", "\t addresses must be indicated as series of 4 hexadecimal digits", "\t (upper or lower case) delimited by colons between each other, with", "\t the acceptance of one double colon sequence to replace the largest", "\t acceptable range of consecutive zeroes. The total number of", "\t decoded bits must exactly be 128.", "\n\t Otherwise, any string can be accepted for the client IP and get", "\t sent.", "\n\t It replaces --haproxy-protocol if used, it is not necessary to", "\t specify both flags. If --haproxy-clientip is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --haproxy-clientip $IP", "\n\t Added in 8.2.0. See also --proxy.", "\n --haproxy-protocol", "\t (HTTP) Send a HAProxy PROXY protocol v1 header at the beginning of", "\t the connection. This is used by some load balancers and reverse", "\t proxies to indicate the client's true IP address and port.", "\n\t This option is primarily useful when sending test requests to a", "\t service that expects this header. Providing --haproxy-protocol", "\t multiple times has no extra effect. Disable it again with", "\t --no-haproxy-protocol.", "\n\t Example:", "\t curl --haproxy-protocol https://example.com", "\n\t Added in 7.60.0. See also --proxy.", "\n -I, --head", "\t (HTTP FTP FILE) Fetch the headers only! HTTP-servers feature the", "\t command HEAD which this uses to get nothing but the header of a", "\t document. When used on an FTP or FILE file, curl displays the file", "\t size and last modification time only. Providing --head multiple", "\t times has no extra effect. Disable it again with --no-head.", "\n\t Example:", "\t curl -I https://example.com", "\n\t See also --get, --verbose and --trace-ascii.", "\n -H, --header
", "\t (HTTP IMAP SMTP) Extra header to include in information sent. When", "\t used within an HTTP request, it is added to the regular request", "\t headers.", "\n\t For an IMAP or SMTP MIME uploaded mail built with --form options,", "\t it is prepended to the resulting MIME document, effectively", "\t including it at the mail global level. It does not affect raw", "\t uploaded mails.", "\n\t You may specify any number of extra headers. Note that if you", "\t should add a custom header that has the same name as one of the", "\t internal ones curl would use, your externally set header is used", "\t instead of the internal one. This allows you to make even trickier", "\t stuff than curl would normally do. You should not replace", "\t internally set headers without knowing perfectly well what you are", "\t doing. Remove an internal header by giving a replacement without", "\t content on the right side of the colon, as in: -H \"Host:\". If you", "\t send the custom header with no-value then its header must be", "\t terminated with a semicolon, such as -H \"X-Custom-Header;\" to send", "\t \"X-Custom-Header:\".", "\n\t curl makes sure that each header you add/replace is sent with the", "\t proper end-of-line marker, you should thus not add that as a part", "\t of the header content: do not add newlines or carriage returns,", "\t they only mess things up for you. curl passes on the verbatim", "\t string you give it without any filter or other safe guards. That", "\t includes white space and control characters.", "\n\t This option can take an argument in @filename style, which then", "\t adds a header for each line in the input file. Using @- makes curl", "\t read the header file from stdin.", "\n\t Please note that most anti-spam utilities check the presence and", "\t value of several MIME mail headers: these are \"From:\", \"To:\",", "\t \"Date:\" and \"Subject:\" among others and should be added with this", "\t option.", "\n\t You need --proxy-header to send custom headers intended for an", "\t HTTP proxy.", "\n\t Passing on a \"Transfer-Encoding: chunked\" header when doing an", "\t HTTP request with a request body, makes curl send the data using", "\t chunked encoding.", "\n\t WARNING: headers set with this option are set in all HTTP requests", "\t - even after redirects are followed, like when told with", "\t --location. This can lead to the header being sent to other hosts", "\t than the original host, so sensitive headers should be used with", "\t caution combined with following redirects. --header can be used", "\t several times in a command line", "\n\t Examples:", "\t curl -H \"X-First-Name: Joe\" https://example.com", "\t curl -H \"User-Agent: yes-please/2000\" https://example.com", "\t curl -H \"Host:\" https://example.com", "\t curl -H @headers.txt https://example.com", "\n\t See also --user-agent and --referer.", "\n -h, --help ", "\t Usage help. Provide help for the subject given as an optional", "\t argument.", "\n\t If no argument is provided, curl displays the most important", "\t command line arguments.", "\n\t The argument can either be a category or a command line option.", "\t When a category is provided, curl shows all command line options", "\t within the given category. Specify category \"all\" to list all", "\t available options.", "\n\t If \"category\" is specified, curl displays all available help", "\t categories.", "\n\t If the provided subject is instead an existing command line", "\t option, specified either in its short form with a single dash and", "\t a single letter, or in the long form with two dashes and a longer", "\t name, curl displays a help text for that option in the terminal.", "\n\t The help output is extensive for some options.", "\n\t If the provided command line option is not known, curl says so.", "\n\t Examples:", "\t curl --help all", "\t curl --help --insecure", "\t curl --help -f", "\n\t See also --verbose.", "\n --hostpubmd5 ", "\t (SFTP SCP) Pass a string containing 32 hexadecimal digits. The", "\t string should be the 128 bit MD5 checksum of the remote host's", "\t public key, curl refuses the connection with the host unless the", "\t checksums match. If --hostpubmd5 is provided several times, the", "\t last set value is used.", "\n\t Example:", "\t curl --hostpubmd5 e5c1c49020640a5ab0f2034854c321a8 \\", "\t\t sftp://example.com/", "\n\t See also --hostpubsha256.", "\n --hostpubsha256 ", "\t (SFTP SCP) Pass a string containing a Base64-encoded SHA256 hash", "\t of the remote host's public key. Curl refuses the connection with", "\t the host unless the hashes match.", "\n\t This feature requires libcurl to be built with libssh2 and does", "\t not work with other SSH backends. If --hostpubsha256 is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ=\\", "\t\t sftp://example.com/", "\n\t Added in 7.80.0. See also --hostpubmd5.", "\n --hsts ", "\t (HTTPS) Enable HSTS for the transfer. If the filename points to an", "\t existing HSTS cache file, that is used. After a completed", "\t transfer, the cache is saved to the filename again if it has been", "\t modified.", "\n\t If curl is told to use HTTP:// for a transfer involving a hostname", "\t that exists in the HSTS cache, it upgrades the transfer to use", "\t HTTPS. Each HSTS cache entry has an individual life time after", "\t which the upgrade is no longer performed.", "\n\t Specify a \"\" filename (zero length) to avoid loading/saving and", "\t make curl just handle HSTS in memory.", "\n\t If this option is used several times, curl loads contents from all", "\t the files but the last one is used for saving. --hsts can be used", "\t several times in a command line", "\n\t Example:", "\t curl --hsts cache.txt https://example.com", "\n\t Added in 7.74.0. See also --proto.", "\n --http0.9", "\t (HTTP) Accept an HTTP version 0.9 response.", "\n\t HTTP/0.9 is a response without headers and therefore you can also", "\t connect with this to non-HTTP servers and still get a response", "\t since curl simply transparently downgrades - if allowed.", "\n\t HTTP/0.9 is disabled by default (added in 7.66.0) Providing", "\t --http0.9 multiple times has no extra effect. Disable it again", "\t with --no-http0.9.", "\n\t Example:", "\t curl --http0.9 https://example.com", "\n\t Added in 7.64.0. See also --http1.1, --http2 and --http3.", "\n -0, --http1.0", "\t (HTTP) Use HTTP version 1.0 instead of using its internally", "\t preferred HTTP version. Providing --http1.0 multiple times has no", "\t extra effect.", "\n\t Example:", "\t curl --http1.0 https://example.com", "\n\t This option is mutually exclusive with --http1.1, --http2,", "\t --http2-prior-knowledge and --http3. See also --http0.9 and", "\t --http1.1.", "\n --http1.1", "\t (HTTP) Use HTTP version 1.1. This is the default with HTTP://", "\t URLs. Providing --http1.1 multiple times has no extra effect.", "\n\t Example:", "\t curl --http1.1 https://example.com", "\n\t This option is mutually exclusive with --http1.0, --http2,", "\t --http2-prior-knowledge and --http3. See also --http1.0 and", "\t --http0.9.", "\n --http2", "\t (HTTP) Use HTTP/2.", "\n\t For HTTPS, this means curl negotiates HTTP/2 in the TLS handshake.", "\t curl does this by default.", "\n\t For HTTP, this means curl attempts to upgrade the request to", "\t HTTP/2 using the Upgrade: request header.", "\n\t When curl uses HTTP/2 over HTTPS, it does not itself insist on TLS", "\t 1.2 or higher even though that is required by the specification. A", "\t user can add this version requirement with --tlsv1.2. Providing", "\t --http2 multiple times has no extra effect.", "\n\t Example:", "\t curl --http2 https://example.com", "\n\t --http2 requires that libcurl is built to support HTTP/2. This", "\t option is mutually exclusive with --http1.1, --http1.0,", "\t --http2-prior-knowledge and --http3. See also --http1.1, --http3", "\t and --no-alpn.", "\n --http2-prior-knowledge", "\t (HTTP) Issue a non-TLS HTTP requests using HTTP/2 directly without", "\t HTTP/1.1 Upgrade. It requires prior knowledge that the server", "\t supports HTTP/2 straight away. HTTPS requests still do HTTP/2 the", "\t standard way with negotiated protocol version in the TLS", "\t handshake.", "\n\t Since 8.10.0 if this option is set for an HTTPS request then the", "\t application layer protocol version (ALPN) offered to the server is", "\t only HTTP/2. Prior to that both HTTP/1.1 and HTTP/2 were offered.", "\t Providing --http2-prior-knowledge multiple times has no extra", "\t effect. Disable it again with --no-http2-prior-knowledge.", "\n\t Example:", "\t curl --http2-prior-knowledge https://example.com", "\n\t --http2-prior-knowledge requires that libcurl is built to support", "\t HTTP/2. This option is mutually exclusive with --http1.1,", "\t --http1.0, --http2 and --http3. See also --http2 and --http3.", "\n --http3", "\t (HTTP) Attempt HTTP/3 to the host in the URL, but fallback to", "\t earlier HTTP versions if the HTTP/3 connection establishment fails", "\t or is slow. HTTP/3 is only available for HTTPS and not for HTTP", "\t URLs.", "\n\t This option allows a user to avoid using the Alt-Svc method of", "\t upgrading to HTTP/3 when you know or suspect that the target", "\t speaks HTTP/3 on the given host and port.", "\n\t When asked to use HTTP/3, curl issues a separate attempt to use", "\t older HTTP versions with a slight delay, so if the HTTP/3 transfer", "\t fails or is slow, curl still tries to proceed with an older HTTP", "\t version. The fallback performs the regular negotiation between", "\t HTTP/1 and HTTP/2.", "\n\t Use --http3-only for similar functionality without a fallback.", "\t Providing --http3 multiple times has no extra effect.", "\n\t Example:", "\t curl --http3 https://example.com", "\n\t --http3 requires that libcurl is built to support HTTP/3. This", "\t option is mutually exclusive with --http1.1, --http1.0, --http2,", "\t --http2-prior-knowledge and --http3-only. Added in 7.66.0. See", "\t also --http1.1 and --http2.", "\n --http3-only", "\t (HTTP) Instructs curl to use HTTP/3 to the host in the URL, with", "\t no fallback to earlier HTTP versions. HTTP/3 can only be used for", "\t HTTPS and not for HTTP URLs. For HTTP, this option triggers an", "\t error.", "\n\t This option allows a user to avoid using the Alt-Svc method of", "\t upgrading to HTTP/3 when you know that the target speaks HTTP/3 on", "\t the given host and port.", "\n\t This option makes curl fail if a QUIC connection cannot be", "\t established, it does not attempt any other HTTP versions on its", "\t own. Use --http3 for similar functionality with a fallback.", "\t Providing --http3-only multiple times has no extra effect.", "\n\t Example:", "\t curl --http3-only https://example.com", "\n\t --http3-only requires that libcurl is built to support HTTP/3.", "\t This option is mutually exclusive with --http1.1, --http1.0,", "\t --http2, --http2-prior-knowledge and --http3. Added in 7.88.0. See", "\t also --http1.1, --http2 and --http3.", "\n --ignore-content-length", "\t (FTP HTTP) For HTTP, Ignore the Content-Length header. This is", "\t particularly useful for servers running Apache 1.x, which reports", "\t incorrect Content-Length for files larger than 2 gigabytes.", "\n\t For FTP, this makes curl skip the SIZE command to figure out the", "\t size before downloading a file.", "\n\t This option does not work for HTTP if libcurl was built to use", "\t hyper. Providing --ignore-content-length multiple times has no", "\t extra effect. Disable it again with --no-ignore-content-length.", "\n\t Example:", "\t curl --ignore-content-length https://example.com", "\n\t See also --ftp-skip-pasv-ip.", "\n -k, --insecure", "\t (TLS SFTP SCP) By default, every secure connection curl makes is", "\t verified to be secure before the transfer takes place. This option", "\t makes curl skip the verification step and proceed without", "\t checking.", "\n\t When this option is not used for protocols using TLS, curl", "\t verifies the server's TLS certificate before it continues: that", "\t the certificate contains the right name which matches the hostname", "\t used in the URL and that the certificate has been signed by a CA", "\t certificate present in the cert store. See this online resource", "\t for further details: https://curl.se/docs/sslcerts.html", "\n\t For SFTP and SCP, this option makes curl skip the known_hosts", "\t verification. known_hosts is a file normally stored in the user's", "\t home directory in the \".ssh\" subdirectory, which contains", "\t hostnames and their public keys.", "\n\t WARNING: using this option makes the transfer insecure.", "\n\t When curl uses secure protocols it trusts responses and allows for", "\t example HSTS and Alt-Svc information to be stored and used", "\t subsequently. Using --insecure can make curl trust and use such", "\t information from malicious servers. Providing --insecure multiple", "\t times has no extra effect. Disable it again with --no-insecure.", "\n\t Example:", "\t curl --insecure https://example.com", "\n\t See also --proxy-insecure, --cacert and --capath.", "\n --interface ", "\t Perform the operation using a specified interface. You can enter", "\t interface name, IP address or hostname. If you prefer to be", "\t specific, you can use the following special syntax:", "\n\t if!", "\n\t\tInterface name. If the provided name does not match an", "\t\texisting interface, curl returns with error 45.", "\n\t host!", "\n\t\tIP address or hostname.", "\n\t ifhost!!", "\n\t\tInterface name and IP address or hostname. This syntax", "\t\trequires libcurl 8.9.0 or later.", "\n\t\tIf the provided name does not match an existing interface,", "\t\tcurl returns with error 45. curl does not support using", "\t\tnetwork interface names for this option on Windows.", "\n\t\tThat name resolve operation if a hostname is provided does not", "\t\tuse DNS-over-HTTPS even if --doh-url is set.", "\n\t\tOn Linux this option can be used to specify a VRF (Virtual", "\t\tRouting and Forwarding) device, but the binary then needs to", "\t\teither have the CAP_NET_RAW capability set or to be run as", "\t\troot.", "\n\t If --interface is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl --interface eth0 https://example.com", "\t curl --interface \"host!10.0.0.1\" https://example.com", "\t curl --interface \"if!enp3s0\" https://example.com", "\n\t See also --dns-interface.", "\n --ip-tos ", "\t (All) Set Type of Service (TOS) for IPv4 or Traffic Class for", "\t IPv6.", "\n\t The values allowed for can be a numeric value between 1", "\t and 255 or one of the following:", "\n\t CS0, CS1, CS2, CS3, CS4, CS5, CS6, CS7, AF11, AF12, AF13, AF21,", "\t AF22, AF23, AF31, AF32, AF33, AF41, AF42, AF43, EF, VOICE-ADMIT,", "\t ECT1, ECT0, CE, LE, LOWCOST, LOWDELAY, THROUGHPUT, RELIABILITY,", "\t MINCOST If --ip-tos is provided several times, the last set value", "\t is used.", "\n\t Example:", "\t curl --ip-tos CS5 https://example.com", "\n\t Added in 8.9.0. See also --tcp-nodelay and --vlan-priority.", "\n --ipfs-gateway ", "\t (IPFS) Specify which gateway to use for IPFS and IPNS URLs. Not", "\t specifying this instead makes curl check if the IPFS_GATEWAY", "\t environment variable is set, or if a \"~/.ipfs/gateway\" file", "\t holding the gateway URL exists.", "\n\t If you run a local IPFS node, this gateway is by default available", "\t under \"http://localhost:8080\". A full example URL would look like:", "\n\t\tcurl --ipfs-gateway http://localhost:8080 \\", "\t\t ipfs://bafybeigagd5nmnn2iys2f3", "\n\t There are many public IPFS gateways. See for example:", "\t https://ipfs.github.io/public-gateway-checker/", "\n\t If you opt to go for a remote gateway you need to be aware that", "\t you completely trust the gateway. This might be fine in local", "\t gateways that you host yourself. With remote gateways there could", "\t potentially be malicious actors returning you data that does not", "\t match the request you made, inspect or even interfere with the", "\t request. You may not notice this when using curl. A mitigation", "\t could be to go for a \"trustless\" gateway. This means you locally", "\t verify that the data. Consult the docs page on trusted vs", "\t trustless:", "\t https://docs.ipfs.tech/reference/http/gateway/#trusted-vs-trustless", "\t If --ipfs-gateway is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --ipfs-gateway https://example.com ipfs://", "\n\t Added in 8.4.0. See also --help and --manual.", "\n -4, --ipv4", "\t Use IPv4 addresses only when resolving hostnames, and not for", "\t example try IPv6. Providing --ipv4 multiple times has no extra", "\t effect.", "\n\t Example:", "\t curl --ipv4 https://example.com", "\n\t This option is mutually exclusive with --ipv6. See also --http1.1", "\t and --http2.", "\n -6, --ipv6", "\t Use IPv6 addresses only when resolving hostnames, and not for", "\t example try IPv4.", "\n\t Your resolver may respond to an IPv6-only resolve request by", "\t returning IPv6 addresses that contain \"mapped\" IPv4 addresses for", "\t compatibility purposes. macOS is known to do this. Providing", "\t --ipv6 multiple times has no extra effect.", "\n\t Example:", "\t curl --ipv6 https://example.com", "\n\t This option is mutually exclusive with --ipv4. See also --http1.1", "\t and --http2.", "\n --json ", "\t (HTTP) Sends the specified JSON data in a POST request to the HTTP", "\t server. --json works as a shortcut for passing on these three", "\t options:", "\n\t\t--data [arg]", "\t\t--header \"Content-Type: application/json\"", "\t\t--header \"Accept: application/json\"", "\n\t There is no verification that the passed in data is actual JSON or", "\t that the syntax is correct.", "\n\t If you start the data with the letter @, the rest should be a", "\t filename to read the data from, or a single dash (-) if you want", "\t curl to read the data from stdin. Posting data from a file named", "\t 'foobar' would thus be done with --json @foobar and to instead", "\t read the data from stdin, use --json @-.", "\n\t If this option is used more than once on the same command line,", "\t the additional data pieces are concatenated to the previous before", "\t sending.", "\n\t The headers this option sets can be overridden with --header as", "\t usual. --json can be used several times in a command line", "\n\t Examples:", "\t curl --json '{ \"drink\": \"coffe\" }' https://example.com", "\t curl --json '{ \"drink\":' --json ' \"coffe\" }' https://example.com", "\t curl --json @prepared https://example.com", "\t curl --json @- https://example.com < json.txt", "\n\t This option is mutually exclusive with --form, --head and", "\t --upload-file. Added in 7.82.0. See also --data-binary and", "\t --data-raw.", "\n -j, --junk-session-cookies", "\t (HTTP) When curl is told to read cookies from a given file, this", "\t option makes it discard all \"session cookies\". This has the same", "\t effect as if a new session is started. Typical browsers discard", "\t session cookies when they are closed down. Providing", "\t --junk-session-cookies multiple times has no extra effect. Disable", "\t it again with --no-junk-session-cookies.", "\n\t Example:", "\t curl --junk-session-cookies -b cookies.txt https://example.com", "\n\t See also --cookie and --cookie-jar.", "\n --keepalive-cnt ", "\t Set the maximum number of keepalive probes TCP should send but get", "\t no response before dropping the connection. This option is usually", "\t used in conjunction with --keepalive-time.", "\n\t This option is supported on Linux, *BSD/macOS, Windows", "\t >=10.0.16299, Solaris 11.4, and recent AIX, HP-UX and more. This", "\t option has no effect if --no-keepalive is used.", "\n\t If unspecified, the option defaults to 9. If --keepalive-cnt is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --keepalive-cnt 3 https://example.com", "\n\t Added in 8.9.0. See also --keepalive-time and --no-keepalive.", "\n --keepalive-time ", "\t Set the time a connection needs to remain idle before sending", "\t keepalive probes and the time between individual keepalive probes.", "\t It is currently effective on operating systems offering the", "\t \"TCP_KEEPIDLE\" and \"TCP_KEEPINTVL\" socket options (meaning Linux,", "\t *BSD/macOS, Windows, Solaris, and recent AIX, HP-UX and more).", "\t Keepalive is used by the TCP stack to detect broken networks on", "\t idle connections. The number of missed keepalive probes before", "\t declaring the connection down is OS dependent and is commonly 8", "\t (*BSD/macOS/AIX), 9 (Linux/AIX) or 5/10 (Windows), and this number", "\t can be changed by specifying the curl option \"keepalive-cnt\". Note", "\t that this option has no effect if --no-keepalive is used.", "\n\t If unspecified, the option defaults to 60 seconds. If", "\t --keepalive-time is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --keepalive-time 20 https://example.com", "\n\t See also --no-keepalive, --keepalive-cnt and --max-time.", "\n --key ", "\t (TLS SSH) Private key filename. Allows you to provide your private", "\t key in this separate file. For SSH, if not specified, curl tries", "\t the following candidates in order: \"~/.ssh/id_rsa\",", "\t \"~/.ssh/id_dsa\", \"./id_rsa\", \"./id_dsa\".", "\n\t If curl is built against OpenSSL library, and the engine pkcs11 is", "\t available, then a PKCS#11 URI (RFC 7512) can be used to specify a", "\t private key located in a PKCS#11 device. A string beginning with", "\t \"pkcs11:\" is interpreted as a PKCS#11 URI. If a PKCS#11 URI is", "\t provided, then the --engine option is set as \"pkcs11\" if none was", "\t provided and the --key-type option is set as \"ENG\" if none was", "\t provided.", "\n\t If curl is built against Secure Transport or Schannel then this", "\t option is ignored for TLS protocols (HTTPS, etc). Those backends", "\t expect the private key to be already present in the keychain or", "\t PKCS#12 file containing the certificate. If --key is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --cert certificate --key here https://example.com", "\n\t See also --key-type and --cert.", "\n --key-type ", "\t (TLS) Private key file type. Specify which type your --key", "\t provided private key is. DER, PEM, and ENG are supported. If not", "\t specified, PEM is assumed. If --key-type is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --key-type DER --key here https://example.com", "\n\t See also --key.", "\n --krb ", "\t (FTP) Enable Kerberos authentication and use. The level must be", "\t entered and should be one of 'clear', 'safe', 'confidential', or", "\t 'private'. Should you use a level that is not one of these,", "\t 'private' is used. If --krb is provided several times, the last", "\t set value is used.", "\n\t Example:", "\t curl --krb clear ftp://example.com/", "\n\t --krb requires that libcurl is built to support Kerberos. See also", "\t --delegation and --ssl.", "\n --libcurl ", "\t Append this option to any ordinary curl command line, and you get", "\t libcurl-using C source code written to the file that does the", "\t equivalent of what your command-line operation does!", "\n\t This option is global and does not need to be specified for each", "\t use of --next. If --libcurl is provided several times, the last", "\t set value is used.", "\n\t Example:", "\t curl --libcurl client.c https://example.com", "\n\t See also --verbose.", "\n --limit-rate ", "\t Specify the maximum transfer rate you want curl to use - for both", "\t downloads and uploads. This feature is useful if you have a", "\t limited pipe and you would like your transfer not to use your", "\t entire bandwidth. To make it slower than it otherwise would be.", "\n\t The given speed is measured in bytes/second, unless a suffix is", "\t appended. Appending 'k' or 'K' counts the number as kilobytes, 'm'", "\t or 'M' makes it megabytes, while 'g' or 'G' makes it gigabytes.", "\t The suffixes (k, M, G, T, P) are 1024 based. For example 1k is", "\t 1024. Examples: 200K, 3m and 1G.", "\n\t The rate limiting logic works on averaging the transfer speed to", "\t no more than the set threshold over a period of multiple seconds.", "\n\t If you also use the --speed-limit option, that option takes", "\t precedence and might cripple the rate-limiting slightly, to help", "\t keeping the speed-limit logic working. If --limit-rate is provided", "\t several times, the last set value is used.", "\n\t Examples:", "\t curl --limit-rate 100K https://example.com", "\t curl --limit-rate 1000 https://example.com", "\t curl --limit-rate 10M https://example.com", "\n\t See also --rate, --speed-limit and --speed-time.", "\n -l, --list-only", "\t (FTP POP3 SFTP FILE) When listing an FTP directory, force a", "\t name-only view. Maybe particularly useful if the user wants to", "\t machine-parse the contents of an FTP directory since the normal", "\t directory view does not use a standard look or format. When used", "\t like this, the option causes an NLST command to be sent to the", "\t server instead of LIST.", "\n\t Note: Some FTP servers list only files in their response to NLST;", "\t they do not include sub-directories and symbolic links.", "\n\t When listing an SFTP directory, this switch forces a name-only", "\t view, one per line. This is especially useful if the user wants to", "\t machine-parse the contents of an SFTP directory since the normal", "\t directory view provides more information than just filenames.", "\n\t When retrieving a specific email from POP3, this switch forces a", "\t LIST command to be performed instead of RETR. This is particularly", "\t useful if the user wants to see if a specific message-id exists on", "\t the server and what size it is.", "\n\t For FILE, this option has no effect yet as directories are always", "\t listed in this mode.", "\n\t Note: When combined with --request, this option can be used to", "\t send a UIDL command instead, so the user may use the email's", "\t unique identifier rather than its message-id to make the request.", "\t Providing --list-only multiple times has no extra effect. Disable", "\t it again with --no-list-only.", "\n\t Example:", "\t curl --list-only ftp://example.com/dir/", "\n\t See also --quote and --request.", "\n --local-port ", "\t Set a preferred single number or range (FROM-TO) of local port", "\t numbers to use for the connection(s). Note that port numbers by", "\t nature are a scarce resource so setting this range to something", "\t too narrow might cause unnecessary connection setup failures. If", "\t --local-port is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --local-port 1000-3000 https://example.com", "\n\t See also --globoff.", "\n -L, --location", "\t (HTTP) If the server reports that the requested page has moved to", "\t a different location (indicated with a Location: header and a 3XX", "\t response code), this option makes curl redo the request on the new", "\t place. If used together with --show-headers or --head, headers", "\t from all requested pages are shown.", "\n\t When authentication is used, or send cookie with \"-H Cookie:\",", "\t curl only sends its credentials to the initial host. If a redirect", "\t takes curl to a different host, it does not get the credentials", "\t pass on. See --location-trusted on how to change this.", "\n\t Limit the amount of redirects to follow by using the --max-redirs", "\t option.", "\n\t When curl follows a redirect and if the request is a POST, it", "\t sends the following request with a GET if the HTTP response was", "\t 301, 302, or 303. If the response code was any other 3xx code,", "\t curl resends the following request using the same unmodified", "\t method.", "\n\t You can tell curl to not change POST requests to GET after a 30x", "\t response by using the dedicated options for that: --post301,", "\t --post302 and --post303.", "\n\t The method set with --request overrides the method curl would", "\t otherwise select to use. Providing --location multiple times has", "\t no extra effect. Disable it again with --no-location.", "\n\t Example:", "\t curl -L https://example.com", "\n\t See also --resolve and --alt-svc.", "\n --location-trusted", "\t (HTTP) Instructs curl to like --location follow HTTP redirects,", "\t but permits it to send credentials and other secrets along to", "\t other hosts than the initial one.", "\n\t This may or may not introduce a security breach if the site", "\t redirects you to a site to which you send this sensitive data to.", "\t Another host means that one or more of hostname, protocol scheme", "\t or port number changed.", "\n\t This option also allows curl to pass long cookies set explicitly", "\t with --header. Providing --location-trusted multiple times has no", "\t extra effect. Disable it again with --no-location-trusted.", "\n\t Examples:", "\t curl --location-trusted -u user:password https://example.com", "\t curl --location-trusted -H \"Cookie: session=abc\" \\", "\t\t https://example.com", "\n\t See also --user.", "\n --login-options ", "\t (IMAP LDAP POP3 SMTP) Specify the login options to use during", "\t server authentication.", "\n\t You can use login options to specify protocol specific options", "\t that may be used during authentication. At present only IMAP, POP3", "\t and SMTP support login options. For more information about login", "\t options please see RFC 2384, RFC 5092 and the IETF draft", "\t https://datatracker.ietf.org/doc/html/draft-earhart-url-smtp-00", "\n\t Since 8.2.0, IMAP supports the login option \"AUTH=+LOGIN\". With", "\t this option, curl uses the plain (not SASL) \"LOGIN IMAP\" command", "\t even if the server advertises SASL authentication. Care should be", "\t taken in using this option, as it sends your password over the", "\t network in plain text. This does not work if the IMAP server", "\t disables the plain \"LOGIN\" (e.g. to prevent password snooping). If", "\t --login-options is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --login-options 'AUTH=*' imap://example.com", "\n\t See also --user.", "\n --mail-auth
", "\t (SMTP) Specify a single address. This is used to specify the", "\t authentication address (identity) of a submitted message that is", "\t being relayed to another server. If --mail-auth is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --mail-auth user@example.com -T mail smtp://example.com/", "\n\t See also --mail-rcpt and --mail-from.", "\n --mail-from
", "\t (SMTP) Specify a single address that the given mail should get", "\t sent from. If --mail-from is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --mail-from user@example.com -T mail smtp://example.com/", "\n\t See also --mail-rcpt and --mail-auth.", "\n --mail-rcpt
", "\t (SMTP) Specify a single email address, username or mailing list", "\t name. Repeat this option several times to send to multiple", "\t recipients.", "\n\t When performing an address verification (VRFY command), the", "\t recipient should be specified as the username or username and", "\t domain (as per Section 3.5 of RFC 5321).", "\n\t When performing a mailing list expand (EXPN command), the", "\t recipient should be specified using the mailing list name, such as", "\t \"Friends\" or \"London-Office\". --mail-rcpt can be used several", "\t times in a command line", "\n\t Example:", "\t curl --mail-rcpt user@example.net smtp://example.com", "\n\t See also --mail-rcpt-allowfails.", "\n --mail-rcpt-allowfails", "\t (SMTP) When sending data to multiple recipients, by default curl", "\t aborts SMTP conversation if at least one of the recipients causes", "\t RCPT TO command to return an error.", "\n\t The default behavior can be changed by passing", "\t --mail-rcpt-allowfails command-line option which makes curl ignore", "\t errors and proceed with the remaining valid recipients.", "\n\t If all recipients trigger RCPT TO failures and this flag is", "\t specified, curl still aborts the SMTP conversation and returns the", "\t error received from to the last RCPT TO command. Providing", "\t --mail-rcpt-allowfails multiple times has no extra effect. Disable", "\t it again with --no-mail-rcpt-allowfails.", "\n\t Example:", "\t curl --mail-rcpt-allowfails --mail-rcpt dest@example.com \\", "\t\t smtp://example.com", "\n\t Added in 7.69.0. See also --mail-rcpt.", "\n -M, --manual", "\t Manual. Display the huge help text.", "\n\t Example:", "\t curl --manual", "\n\t See also --verbose, --libcurl and --trace.", "\n --max-filesize ", "\t (FTP HTTP MQTT) When set to a non-zero value, it specifies the", "\t maximum size (in bytes) of a file to download. If the file", "\t requested is larger than this value, the transfer does not start", "\t and curl returns with exit code 63.", "\n\t Setting the maximum value to zero disables the limit.", "\n\t A size modifier may be used. For example, Appending 'k' or 'K'", "\t counts the number as kilobytes, 'm' or 'M' makes it megabytes,", "\t while 'g' or 'G' makes it gigabytes. Examples: 200K, 3m and 1G.", "\n\t NOTE: before curl 8.4.0, when the file size is not known prior to", "\t download, for such files this option has no effect even if the", "\t file transfer ends up being larger than this given limit.", "\n\t Starting with curl 8.4.0, this option aborts the transfer if it", "\t reaches the threshold during transfer. If --max-filesize is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --max-filesize 100K https://example.com", "\n\t See also --limit-rate.", "\n --max-redirs ", "\t (HTTP) Set maximum number of redirections to follow. When", "\t --location is used, to prevent curl from following too many", "\t redirects, by default, the limit is set to 50 redirects. Set this", "\t option to -1 to make it unlimited. If --max-redirs is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --max-redirs 3 --location https://example.com", "\n\t See also --location.", "\n -m, --max-time ", "\t Set maximum time in seconds that you allow each transfer to take.", "\t Prevents your batch jobs from hanging for hours due to slow", "\t networks or links going down. This option accepts decimal values.", "\n\t If you enable retrying the transfer (--retry) then the maximum", "\t time counter is reset each time the transfer is retried. You can", "\t use --retry-max-time to limit the retry time.", "\n\t The decimal value needs to be provided using a dot (.) as decimal", "\t separator - not the local version even if it might be using", "\t another separator. If --max-time is provided several times, the", "\t last set value is used.", "\n\t Examples:", "\t curl --max-time 10 https://example.com", "\t curl --max-time 2.92 https://example.com", "\n\t See also --connect-timeout and --retry-max-time.", "\n --metalink", "\t This option was previously used to specify a Metalink resource.", "\t Metalink support is disabled in curl for security reasons (added", "\t in 7.78.0). If --metalink is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --metalink file https://example.com", "\n\t See also --parallel.", "\n --mptcp", "\t Enables the use of Multipath TCP (MPTCP) for connections. MPTCP is", "\t an extension to the standard TCP that allows multiple TCP streams", "\t over different network paths between the same source and", "\t destination. This can enhance bandwidth and improve reliability by", "\t using multiple paths simultaneously.", "\n\t MPTCP is beneficial in networks where multiple paths exist between", "\t clients and servers, such as mobile networks where a device may", "\t switch between WiFi and cellular data or in wired networks with", "\t multiple Internet Service Providers.", "\n\t This option is currently only supported on Linux starting from", "\t kernel 5.6. Only TCP connections are modified, hence this option", "\t does not effect HTTP/3 (QUIC) or UDP connections.", "\n\t The server curl connects to must also support MPTCP. If not, the", "\t connection seamlessly falls back to TCP. Providing --mptcp", "\t multiple times has no extra effect. Disable it again with", "\t --no-mptcp.", "\n\t Example:", "\t curl --mptcp https://example.com", "\n\t Added in 8.9.0. See also --tcp-fastopen.", "\n --negotiate", "\t (HTTP) Enable Negotiate (SPNEGO) authentication.", "\n\t This option requires a library built with GSS-API or SSPI support.", "\t Use --version to see if your curl supports GSS-API/SSPI or SPNEGO.", "\n\t When using this option, you must also provide a fake --user option", "\t to activate the authentication code properly. Sending a '-u :' is", "\t enough as the username and password from the --user option are not", "\t actually used. Providing --negotiate multiple times has no extra", "\t effect.", "\n\t Example:", "\t curl --negotiate -u : https://example.com", "\n\t See also --basic, --ntlm, --anyauth and --proxy-negotiate.", "\n -n, --netrc", "\t Make curl scan the .netrc file in the user's home directory for", "\t login name and password. This is typically used for FTP on Unix.", "\t If used with HTTP, curl enables user authentication. See netrc(5)", "\t and ftp(1) for details on the file format. Curl does not complain", "\t if that file does not have the right permissions (it should be", "\t neither world- nor group-readable). The environment variable", "\t \"HOME\" is used to find the home directory.", "\n\t On Windows two filenames in the home directory are checked: .netrc", "\t and _netrc, preferring the former. Older versions on Windows", "\t checked for _netrc only.", "\n\t A quick and simple example of how to setup a .netrc to allow curl", "\t to FTP to the machine host.domain.com with username 'myself' and", "\t password 'secret' could look similar to:", "\n\t\tmachine host.domain.com", "\t\tlogin myself", "\t\tpassword secret", "\n\t Providing --netrc multiple times has no extra effect. Disable it", "\t again with --no-netrc.", "\n\t Example:", "\t curl --netrc https://example.com", "\n\t This option is mutually exclusive with --netrc-file and", "\t --netrc-optional. See also --netrc-file, --config and --user.", "\n --netrc-file ", "\t Set the netrc file to use. Similar to --netrc, except that you", "\t also provide the path (absolute or relative).", "\n\t It abides by --netrc-optional if specified. If --netrc-file is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --netrc-file netrc https://example.com", "\n\t This option is mutually exclusive with --netrc. See also --netrc,", "\t --user and --config.", "\n --netrc-optional", "\t Similar to --netrc, but this option makes the .netrc usage", "\t optional and not mandatory as the --netrc option does. Providing", "\t --netrc-optional multiple times has no extra effect. Disable it", "\t again with --no-netrc-optional.", "\n\t Example:", "\t curl --netrc-optional https://example.com", "\n\t This option is mutually exclusive with --netrc. See also", "\t --netrc-file.", "\n -:, --next", "\t Use a separate operation for the following URL and associated", "\t options. This allows you to send several URL requests, each with", "\t their own specific options, for example, such as different", "\t usernames or custom requests for each.", "\n\t --next resets all local options and only global ones have their", "\t values survive over to the operation following the --next", "\t instruction. Global options include --verbose, --trace,", "\t --trace-ascii and --fail-early.", "\n\t For example, you can do both a GET and a POST in a single command", "\t line:", "\n\t\tcurl www1.example.com --next -d postthis www2.example.com", "\n\t --next can be used several times in a command line", "\n\t Examples:", "\t curl https://example.com --next -d postthis www2.example.com", "\t curl -I https://example.com --next https://example.net/", "\n\t See also --parallel and --config.", "\n --no-alpn", "\t (HTTPS) Disable the ALPN TLS extension. ALPN is enabled by default", "\t if libcurl was built with an SSL library that supports ALPN. ALPN", "\t is used by a libcurl that supports HTTP/2 to negotiate HTTP/2", "\t support with the server during https sessions.", "\n\t Note that this is the negated option name documented. You can use", "\t --alpn to enable ALPN. Providing --no-alpn multiple times has no", "\t extra effect. Disable it again with --alpn.", "\n\t Example:", "\t curl --no-alpn https://example.com", "\n\t --no-alpn requires that libcurl is built to support TLS. See also", "\t --no-npn and --http2.", "\n -N, --no-buffer", "\t Disables the buffering of the output stream. In normal work", "\t situations, curl uses a standard buffered output stream that has", "\t the effect that it outputs the data in chunks, not necessarily", "\t exactly when the data arrives. Using this option disables that", "\t buffering.", "\n\t Note that this is the negated option name documented. You can use", "\t --buffer to enable buffering again. Providing --no-buffer multiple", "\t times has no extra effect. Disable it again with --buffer.", "\n\t Example:", "\t curl --no-buffer https://example.com", "\n\t See also --progress-bar.", "\n --no-clobber", "\t When used in conjunction with the --output, --remote-header-name,", "\t --remote-name, or --remote-name-all options, curl avoids", "\t overwriting files that already exist. Instead, a dot and a number", "\t gets appended to the name of the file that would be created, up to", "\t filename.100 after which it does not create any file.", "\n\t Note that this is the negated option name documented. You can thus", "\t use --clobber to enforce the clobbering, even if", "\t --remote-header-name is specified. Providing --no-clobber multiple", "\t times has no extra effect. Disable it again with --clobber.", "\n\t Example:", "\t curl --no-clobber --output local/dir/file https://example.com", "\n\t Added in 7.83.0. See also --output and --remote-name.", "\n --no-keepalive", "\t Disables the use of keepalive messages on the TCP connection. curl", "\t otherwise enables them by default.", "\n\t Note that this is the negated option name documented. You can thus", "\t use --keepalive to enforce keepalive. Providing --no-keepalive", "\t multiple times has no extra effect. Disable it again with", "\t --keepalive.", "\n\t Example:", "\t curl --no-keepalive https://example.com", "\n\t See also --keepalive-time and --keepalive-cnt.", "\n --no-npn", "\t (HTTPS) curl never uses NPN, this option has no effect (added in", "\t 7.86.0).", "\n\t Disable the NPN TLS extension. NPN is enabled by default if", "\t libcurl was built with an SSL library that supports NPN. NPN is", "\t used by a libcurl that supports HTTP/2 to negotiate HTTP/2 support", "\t with the server during https sessions. Providing --no-npn multiple", "\t times has no extra effect. Disable it again with --npn.", "\n\t Example:", "\t curl --no-npn https://example.com", "\n\t --no-npn requires that libcurl is built to support TLS. See also", "\t --no-alpn and --http2.", "\n --no-progress-meter", "\t Option to switch off the progress meter output without muting or", "\t otherwise affecting warning and informational messages like", "\t --silent does.", "\n\t Note that this is the negated option name documented. You can thus", "\t use --progress-meter to enable the progress meter again. Providing", "\t --no-progress-meter multiple times has no extra effect. Disable it", "\t again with --progress-meter.", "\n\t Example:", "\t curl --no-progress-meter -o store https://example.com", "\n\t Added in 7.67.0. See also --verbose and --silent.", "\n --no-sessionid", "\t (TLS) Disable curl's use of SSL session-ID caching. By default all", "\t transfers are done using the cache. Note that while nothing should", "\t ever get hurt by attempting to reuse SSL session-IDs, there seem", "\t to be broken SSL implementations in the wild that may require you", "\t to disable this in order for you to succeed.", "\n\t Note that this is the negated option name documented. You can thus", "\t use --sessionid to enforce session-ID caching. Providing", "\t --no-sessionid multiple times has no extra effect. Disable it", "\t again with --sessionid.", "\n\t Example:", "\t curl --no-sessionid https://example.com", "\n\t See also --insecure.", "\n --noproxy ", "\t Comma-separated list of hosts for which not to use a proxy, if one", "\t is specified. The only wildcard is a single \"*\" character, which", "\t matches all hosts, and effectively disables the proxy. Each name", "\t in this list is matched as either a domain which contains the", "\t hostname, or the hostname itself. For example, \"local.com\" would", "\t match \"local.com\", \"local.com:80\", and \"www.local.com\", but not", "\t \"www.notlocal.com\".", "\n\t This option overrides the environment variables that disable the", "\t proxy (\"no_proxy\" and \"NO_PROXY\"). If there is an environment", "\t variable disabling a proxy, you can set the no proxy list to \"\" to", "\t override it.", "\n\t IP addresses specified to this option can be provided using CIDR", "\t notation (added in 7.86.0): an appended slash and number specifies", "\t the number of network bits out of the address to use in the", "\t comparison. For example \"192.168.0.0/16\" would match all addresses", "\t starting with \"192.168\". If --noproxy is provided several times,", "\t the last set value is used.", "\n\t Example:", "\t curl --noproxy \"www.example\" https://example.com", "\n\t See also --proxy.", "\n --ntlm", "\t (HTTP) Use NTLM authentication. The NTLM authentication method was", "\t designed by Microsoft and is used by IIS web servers. It is a", "\t proprietary protocol, reverse-engineered by clever people and", "\t implemented in curl based on their efforts. This kind of behavior", "\t should not be endorsed, you should encourage everyone who uses", "\t NTLM to switch to a public and documented authentication method", "\t instead, such as Digest.", "\n\t If you want to enable NTLM for your proxy authentication, then use", "\t --proxy-ntlm. Providing --ntlm multiple times has no extra effect.", "\n\t Example:", "\t curl --ntlm -u user:password https://example.com", "\n\t --ntlm requires that libcurl is built to support TLS. This option", "\t is mutually exclusive with --basic, --negotiate, --digest and", "\t --anyauth. See also --proxy-ntlm.", "\n --ntlm-wb", "\t (HTTP) Deprecated option (added in 8.8.0).", "\n\t Enabled NTLM much in the style --ntlm does, but handed over the", "\t authentication to a separate executable that was executed when", "\t needed. Providing --ntlm-wb multiple times has no extra effect.", "\n\t Example:", "\t curl --ntlm-wb -u user:password https://example.com", "\n\t See also --ntlm and --proxy-ntlm.", "\n --oauth2-bearer ", "\t (IMAP LDAP POP3 SMTP HTTP) Specify the Bearer Token for OAUTH 2.0", "\t server authentication. The Bearer Token is used in conjunction", "\t with the username which can be specified as part of the --url or", "\t --user options.", "\n\t The Bearer Token and username are formatted according to RFC 6750.", "\t If --oauth2-bearer is provided several times, the last set value", "\t is used.", "\n\t Example:", "\t curl --oauth2-bearer \"mF_9.B5f-4.1JqM\" https://example.com", "\n\t See also --basic, --ntlm and --digest.", "\n -o, --output ", "\t Write output to the given file instead of stdout. If you are using", "\t globbing to fetch multiple documents, you should quote the URL and", "\t you can use \"#\" followed by a number in the filename. That", "\t variable is then replaced with the current string for the URL", "\t being fetched. Like in:", "\n\t\tcurl \"http://{one,two}.example.com\" -o \"file_#1.txt\"", "\n\t or use several variables like:", "\n\t\tcurl \"http://{site,host}.host[1-5].example\" -o \"#1_#2\"", "\n\t You may use this option as many times as the number of URLs you", "\t have. For example, if you specify two URLs on the same command", "\t line, you can use it like this:", "\n\t\tcurl -o aa example.com -o bb example.net", "\n\t and the order of the -o options and the URLs does not matter, just", "\t that the first -o is for the first URL and so on, so the above", "\t command line can also be written as", "\n\t\tcurl example.com example.net -o aa -o bb", "\n\t See also the --create-dirs option to create the local directories", "\t dynamically. Specifying the output as '-' (a single dash) passes", "\t the output to stdout.", "\n\t To suppress response bodies, you can redirect output to /dev/null:", "\n\t\tcurl example.com -o /dev/null", "\n\t Or for Windows:", "\n\t\tcurl example.com -o nul", "\n\t Specify the filename as single minus to force the output to", "\t stdout, to override curl's internal binary output in terminal", "\t prevention:", "\n\t\tcurl https://example.com/jpeg -o -", "\n\t --output is associated with a single URL. Use it once per URL when", "\t you use several URLs in a command line.", "\n\t Examples:", "\t curl -o file https://example.com", "\t curl \"http://{one,two}.example.com\" -o \"file_#1.txt\"", "\t curl \"http://{site,host}.host[1-5].example\" -o \"#1_#2\"", "\t curl -o file https://example.com -o file2 https://example.net", "\n\t See also --remote-name, --remote-name-all and", "\t --remote-header-name.", "\n --output-dir ", "\t Specify the directory in which files should be stored, when", "\t --remote-name or --output are used.", "\n\t The given output directory is used for all URLs and output options", "\t on the command line, up until the first --next.", "\n\t If the specified target directory does not exist, the operation", "\t fails unless --create-dirs is also used. If --output-dir is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --output-dir \"tmp\" -O https://example.com", "\n\t Added in 7.73.0. See also --remote-name and --remote-header-name.", "\n -Z, --parallel", "\t Makes curl perform all transfers in parallel as compared to the", "\t regular serial manner. Parallel transfer means that curl runs up", "\t to N concurrent transfers simultaneously and if there are more", "\t than N transfers to handle, it starts new ones when earlier", "\t transfers finish.", "\n\t With parallel transfers, the progress meter output is different", "\t than when doing serial transfers, as it then displays the transfer", "\t status for multiple transfers in a single line.", "\n\t The maximum amount of concurrent transfers is set with", "\t --parallel-max and it defaults to 50.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --parallel multiple times has no extra", "\t effect. Disable it again with --no-parallel.", "\n\t Example:", "\t curl --parallel https://example.com -o file1 https://example.com \\", "\t\t -o file2", "\n\t Added in 7.66.0. See also --next, --verbose, --parallel-max and", "\t --parallel-immediate.", "\n --parallel-immediate", "\t When doing parallel transfers, this option instructs curl to", "\t prefer opening up more connections in parallel at once rather than", "\t waiting to see if new transfers can be added as multiplexed", "\t streams on another connection.", "\n\t By default, without this option set, curl prefers to wait a little", "\t and multiplex new transfers over existing connections. It keeps", "\t the number of connections low at the expense of risking a slightly", "\t slower transfer startup.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --parallel-immediate multiple times has", "\t no extra effect. Disable it again with --no-parallel-immediate.", "\n\t Example:", "\t curl --parallel-immediate -Z https://example.com -o file1 \\", "\t\t https://example.com -o file2", "\n\t Added in 7.68.0. See also --parallel and --parallel-max.", "\n --parallel-max ", "\t When asked to do parallel transfers, using --parallel, this option", "\t controls the maximum amount of transfers to do simultaneously.", "\n\t The default is 50. 300 is the largest supported value.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. If --parallel-max is provided several times, the", "\t last set value is used.", "\n\t Example:", "\t curl --parallel-max 100 -Z https://example.com ftp://example.com/", "\n\t Added in 7.66.0. See also --parallel.", "\n --pass ", "\t (SSH TLS) Passphrase for the private key. If --pass is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --pass secret --key file https://example.com", "\n\t See also --key and --user.", "\n --path-as-is", "\t Do not handle sequences of /../ or /./ in the given URL path.", "\t Normally curl squashes or merges them according to standards but", "\t with this option set you tell it not to do that. Providing", "\t --path-as-is multiple times has no extra effect. Disable it again", "\t with --no-path-as-is.", "\n\t Example:", "\t curl --path-as-is https://example.com/../../etc/passwd", "\n\t See also --request-target.", "\n --pinnedpubkey ", "\t (TLS) Use the specified public key file (or hashes) to verify the", "\t peer. This can be a path to a file which contains a single public", "\t key in PEM or DER format, or any number of base64 encoded sha256", "\t hashes preceded by 'sha256//' and separated by ';'.", "\n\t When negotiating a TLS or SSL connection, the server sends a", "\t certificate indicating its identity. A public key is extracted", "\t from this certificate and if it does not exactly match the public", "\t key provided to this option, curl aborts the connection before", "\t sending or receiving any data.", "\n\t This option is independent of option --insecure. If you use both", "\t options together then the peer is still verified by public key.", "\n\t PEM/DER support:", "\n\t OpenSSL and GnuTLS, wolfSSL, mbedTLS , Secure Transport macOS", "\t 10.7+/iOS 10+, Schannel", "\n\t sha256 support:", "\n\t OpenSSL, GnuTLS and wolfSSL, mbedTLS, Secure Transport macOS", "\t 10.7+/iOS 10+, Schannel", "\n\t Other SSL backends not supported. If --pinnedpubkey is provided", "\t several times, the last set value is used.", "\n\t Examples:", "\t curl --pinnedpubkey keyfile https://example.com", "\t curl --pinnedpubkey 'sha256//ce118b51897f4452dc' \\", "\t\t https://example.com", "\n\t See also --hostpubsha256.", "\n --post301", "\t (HTTP) Respect RFC 7231/6.4.2 and do not convert POST requests", "\t into GET requests when following a 301 redirect. The non-RFC", "\t behavior is ubiquitous in web browsers, so curl does the", "\t conversion by default to maintain consistency. However, a server", "\t may require a POST to remain a POST after such a redirection. This", "\t option is meaningful only when using --location. Providing", "\t --post301 multiple times has no extra effect. Disable it again", "\t with --no-post301.", "\n\t Example:", "\t curl --post301 --location -d \"data\" https://example.com", "\n\t See also --post302, --post303 and --location.", "\n --post302", "\t (HTTP) Respect RFC 7231/6.4.3 and do not convert POST requests", "\t into GET requests when following a 302 redirect. The non-RFC", "\t behavior is ubiquitous in web browsers, so curl does the", "\t conversion by default to maintain consistency. However, a server", "\t may require a POST to remain a POST after such a redirection. This", "\t option is meaningful only when using --location. Providing", "\t --post302 multiple times has no extra effect. Disable it again", "\t with --no-post302.", "\n\t Example:", "\t curl --post302 --location -d \"data\" https://example.com", "\n\t See also --post301, --post303 and --location.", "\n --post303", "\t (HTTP) Violate RFC 7231/6.4.4 and do not convert POST requests", "\t into GET requests when following 303 redirect. A server may", "\t require a POST to remain a POST after a 303 redirection. This", "\t option is meaningful only when using --location. Providing", "\t --post303 multiple times has no extra effect. Disable it again", "\t with --no-post303.", "\n\t Example:", "\t curl --post303 --location -d \"data\" https://example.com", "\n\t See also --post302, --post301 and --location.", "\n --preproxy [protocol://]host[:port]", "\t Use the specified SOCKS proxy before connecting to an HTTP or", "\t HTTPS --proxy. In such a case curl first connects to the SOCKS", "\t proxy and then connects (through SOCKS) to the HTTP or HTTPS", "\t proxy. Hence pre proxy.", "\n\t The pre proxy string should be specified with a protocol:// prefix", "\t to specify alternative proxy protocols. Use socks4://, socks4a://,", "\t socks5:// or socks5h:// to request the specific SOCKS version to", "\t be used. No protocol specified makes curl default to SOCKS4.", "\n\t If the port number is not specified in the proxy string, it is", "\t assumed to be 1080.", "\n\t User and password that might be provided in the proxy string are", "\t URL decoded by curl. This allows you to pass in special characters", "\t such as @ by using %40 or pass in a colon with %3a. If --preproxy", "\t is provided several times, the last set value is used.", "\n\t Example:", "\t curl --preproxy socks5://proxy.example -x http://http.example \\", "\t\t https://example.com", "\n\t See also --proxy and --socks5.", "\n -#, --progress-bar", "\t Make curl display transfer progress as a simple progress bar", "\t instead of the standard, more informational, meter.", "\n\t This progress bar draws a single line of '#' characters across the", "\t screen and shows a percentage if the transfer size is known. For", "\t transfers without a known size, there is a space ship (-=o=-) that", "\t moves back and forth but only while data is being transferred,", "\t with a set of flying hash sign symbols on top.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --progress-bar multiple times has no", "\t extra effect. Disable it again with --no-progress-bar.", "\n\t Example:", "\t curl -# -O https://example.com", "\n\t See also --styled-output.", "\n --proto ", "\t Limit what protocols to allow for transfers. Protocols are", "\t evaluated left to right, are comma separated, and are each a", "\t protocol name or 'all', optionally prefixed by zero or more", "\t modifiers. Available modifiers are:", "\n\t +", "\n\t\tPermit this protocol in addition to protocols already", "\t\tpermitted (this is the default if no modifier is used).", "\n\t -", "\n\t\tDeny this protocol, removing it from the list of protocols", "\t\talready permitted.", "\n\t =", "\n\t\tPermit only this protocol (ignoring the list already", "\t\tpermitted), though subject to later modification by subsequent", "\t\tentries in the comma separated list. For example: --proto", "\t\t-ftps uses the default protocols, but disables ftps", "\n\t\t--proto -all,https,+http only enables http and https", "\n\t\t--proto =http,https also only enables http and https", "\n\t\tUnknown and disabled protocols produce a warning. This allows", "\t\tscripts to safely rely on being able to disable potentially", "\t\tdangerous protocols, without relying upon support for that", "\t\tprotocol being built into curl to avoid an error.", "\n\t\tThis option can be used multiple times, in which case the", "\t\teffect is the same as concatenating the protocols into one", "\t\tinstance of the option.", "\n\t If --proto is provided several times, the last set value is used.", "\n\t Example:", "\t curl --proto =http,https,sftp https://example.com", "\n\t See also --proto-redir and --proto-default.", "\n --proto-default ", "\t Use protocol for any provided URL missing a scheme.", "\n\t An unknown or unsupported protocol causes error", "\t CURLE_UNSUPPORTED_PROTOCOL.", "\n\t This option does not change the default proxy protocol (http).", "\n\t Without this option set, curl guesses protocol based on the", "\t hostname, see --url for details. If --proto-default is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --proto-default https ftp.example.com", "\n\t See also --proto and --proto-redir.", "\n --proto-redir ", "\t Limit what protocols to allow on redirects. Protocols denied by", "\t --proto are not overridden by this option. See --proto for how", "\t protocols are represented.", "\n\t Example, allow only HTTP and HTTPS on redirect:", "\n\t\tcurl --proto-redir -all,http,https http://example.com", "\n\t By default curl only allows HTTP, HTTPS, FTP and FTPS on redirects", "\t (added in 7.65.2). Specifying all or +all enables all protocols on", "\t redirects, which is not good for security. If --proto-redir is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --proto-redir =http,https https://example.com", "\n\t See also --proto.", "\n -x, --proxy [protocol://]host[:port]", "\t Use the specified proxy.", "\n\t The proxy string can be specified with a protocol:// prefix. No", "\t protocol specified or http:// it is treated as an HTTP proxy. Use", "\t socks4://, socks4a://, socks5:// or socks5h:// to request a", "\t specific SOCKS version to be used.", "\n\t Unix domain sockets are supported for socks proxy. Set localhost", "\t for the host part. e.g. socks5h://localhost/path/to/socket.sock", "\n\t HTTPS proxy support works set with the https:// protocol prefix", "\t for OpenSSL and GnuTLS. It also works for BearSSL, mbedTLS,", "\t Rustls, Schannel, Secure Transport and wolfSSL (added in 7.87.0).", "\n\t Unrecognized and unsupported proxy protocols cause an error.", "\t Ancient curl versions ignored unknown schemes and used http://", "\t instead.", "\n\t If the port number is not specified in the proxy string, it is", "\t assumed to be 1080.", "\n\t This option overrides existing environment variables that set the", "\t proxy to use. If there is an environment variable setting a proxy,", "\t you can set proxy to \"\" to override it.", "\n\t All operations that are performed over an HTTP proxy are", "\t transparently converted to HTTP. It means that certain protocol", "\t specific operations might not be available. This is not the case", "\t if you can tunnel through the proxy, as one with the --proxytunnel", "\t option.", "\n\t User and password that might be provided in the proxy string are", "\t URL decoded by curl. This allows you to pass in special characters", "\t such as @ by using %40 or pass in a colon with %3a.", "\n\t The proxy host can be specified the same way as the proxy", "\t environment variables, including the protocol prefix (http://) and", "\t the embedded user + password.", "\n\t When a proxy is used, the active FTP mode as set with --ftp-port,", "\t cannot be used. If --proxy is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --proxy http://proxy.example https://example.com", "\n\t See also --socks5 and --proxy-basic.", "\n --proxy-anyauth", "\t Automatically pick a suitable authentication method when", "\t communicating with the given HTTP proxy. This might cause an extra", "\t request/response round-trip. Providing --proxy-anyauth multiple", "\t times has no extra effect.", "\n\t Example:", "\t curl --proxy-anyauth --proxy-user user:passwd -x proxy \\", "\t\t https://example.com", "\n\t See also --proxy, --proxy-basic and --proxy-digest.", "\n --proxy-basic", "\t Use HTTP Basic authentication when communicating with the given", "\t proxy. Use --basic for enabling HTTP Basic with a remote host.", "\t Basic is the default authentication method curl uses with proxies.", "\t Providing --proxy-basic multiple times has no extra effect.", "\n\t Example:", "\t curl --proxy-basic --proxy-user user:passwd -x proxy \\", "\t\t https://example.com", "\n\t See also --proxy, --proxy-anyauth and --proxy-digest.", "\n --proxy-ca-native", "\t (TLS) Use the CA store from the native operating system to verify", "\t the HTTPS proxy. By default, curl uses a CA store provided in a", "\t single file or directory, but when using this option it interfaces", "\t the operating system's own vault.", "\n\t This option works for curl on Windows when built to use OpenSSL,", "\t wolfSSL (added in 8.3.0) or GnuTLS (added in 8.5.0). When curl on", "\t Windows is built to use Schannel, this feature is implied and curl", "\t then only uses the native CA store. Providing --proxy-ca-native", "\t multiple times has no extra effect. Disable it again with", "\t --no-proxy-ca-native.", "\n\t Example:", "\t curl --proxy-ca-native https://example.com", "\n\t Added in 8.2.0. See also --cacert, --capath, --dump-ca-embed and", "\t --insecure.", "\n --proxy-cacert ", "\t Use the specified certificate file to verify the HTTPS proxy. The", "\t file may contain multiple CA certificates. The certificate(s) must", "\t be in PEM format.", "\n\t This allows you to use a different trust for the proxy compared to", "\t the remote server connected to via the proxy.", "\n\t Equivalent to --cacert but used in HTTPS proxy context. If", "\t --proxy-cacert is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-cacert CA-file.txt -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-capath, --cacert, --capath, --dump-ca-embed and", "\t --proxy.", "\n --proxy-capath ", "\t Same as --capath but used in HTTPS proxy context.", "\n\t Use the specified certificate directory to verify the proxy.", "\t Multiple paths can be provided by separated with colon (\":\") (e.g.", "\t \"path1:path2:path3\"). The certificates must be in PEM format, and", "\t if curl is built against OpenSSL, the directory must have been", "\t processed using the c_rehash utility supplied with OpenSSL. Using", "\t --proxy-capath can allow OpenSSL-powered curl to make", "\t SSL-connections much more efficiently than using --proxy-cacert if", "\t the --proxy-cacert file contains many CA certificates.", "\n\t If this option is set, the default capath value is ignored. If", "\t --proxy-capath is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-capath /local/directory -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-cacert, --proxy, --capath and --dump-ca-embed.", "\n --proxy-cert ", "\t Use the specified client certificate file when communicating with", "\t an HTTPS proxy. The certificate must be in PKCS#12 format if using", "\t Secure Transport, or PEM format if using any other engine. If the", "\t optional password is not specified, it is queried for on the", "\t terminal. Use --proxy-key to provide the private key.", "\n\t This option is the equivalent to --cert but used in HTTPS proxy", "\t context. If --proxy-cert is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --proxy-cert file -x https://proxy https://example.com", "\n\t See also --proxy, --proxy-key and --proxy-cert-type.", "\n --proxy-cert-type ", "\t Set type of the provided client certificate when using HTTPS", "\t proxy. PEM, DER, ENG and P12 are recognized types.", "\n\t The default type depends on the TLS backend and is usually PEM,", "\t however for Secure Transport and Schannel it is P12. If", "\t --proxy-cert is a pkcs11: URI then ENG is the default type.", "\n\t Equivalent to --cert-type but used in HTTPS proxy context. If", "\t --proxy-cert-type is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-cert-type PEM --proxy-cert file -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-cert and --proxy-key.", "\n --proxy-ciphers ", "\t (TLS) Same as --ciphers but used in HTTPS proxy context.", "\n\t Specify which cipher suites to use in the connection to your HTTPS", "\t proxy when it negotiates TLS 1.2 (1.1, 1.0). The list of ciphers", "\t suites must specify valid ciphers. Read up on cipher suite details", "\t on this URL:", "\n\t https://curl.se/docs/ssl-ciphers.html If --proxy-ciphers is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --proxy-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:\\", "\t\t ECDHE-RSA-AES128-GCM-SHA256 -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-tls13-ciphers, --ciphers and --proxy.", "\n --proxy-crlfile ", "\t Provide filename for a PEM formatted file with a Certificate", "\t Revocation List that specifies peer certificates that are", "\t considered revoked when communicating with an HTTPS proxy.", "\n\t Equivalent to --crlfile but only used in HTTPS proxy context. If", "\t --proxy-crlfile is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-crlfile rejects.txt -x https://proxy \\", "\t\t https://example.com", "\n\t See also --crlfile and --proxy.", "\n --proxy-digest", "\t Use HTTP Digest authentication when communicating with the given", "\t proxy. Use --digest for enabling HTTP Digest with a remote host.", "\t Providing --proxy-digest multiple times has no extra effect.", "\n\t Example:", "\t curl --proxy-digest --proxy-user user:passwd -x proxy \\", "\t\t https://example.com", "\n\t See also --proxy, --proxy-anyauth and --proxy-basic.", "\n --proxy-header
", "\t (HTTP) Extra header to include in the request when sending HTTP to", "\t a proxy. You may specify any number of extra headers. This is the", "\t equivalent option to --header but is for proxy communication only", "\t like in CONNECT requests when you want a separate header sent to", "\t the proxy to what is sent to the actual remote host.", "\n\t curl makes sure that each header you add/replace is sent with the", "\t proper end-of-line marker, you should thus not add that as a part", "\t of the header content: do not add newlines or carriage returns,", "\t they only mess things up for you.", "\n\t Headers specified with this option are not included in requests", "\t that curl knows are not be sent to a proxy.", "\n\t This option can take an argument in @filename style, which then", "\t adds a header for each line in the input file. Using @- makes curl", "\t read the headers from stdin.", "\n\t This option can be used multiple times to add/replace/remove", "\t multiple headers. --proxy-header can be used several times in a", "\t command line", "\n\t Examples:", "\t curl --proxy-header \"X-First-Name: Joe\" -x http://proxy \\", "\t\t https://example.com", "\t curl --proxy-header \"User-Agent: surprise\" -x http://proxy \\", "\t\t https://example.com", "\t curl --proxy-header \"Host:\" -x http://proxy https://example.com", "\n\t See also --proxy.", "\n --proxy-http2", "\t (HTTP) Negotiate HTTP/2 with an HTTPS proxy. The proxy might still", "\t only offer HTTP/1 and then curl sticks to using that version.", "\n\t This has no effect for any other kinds of proxies. Providing", "\t --proxy-http2 multiple times has no extra effect. Disable it again", "\t with --no-proxy-http2.", "\n\t Example:", "\t curl --proxy-http2 -x proxy https://example.com", "\n\t --proxy-http2 requires that libcurl is built to support HTTP/2.", "\t Added in 8.1.0. See also --proxy.", "\n --proxy-insecure", "\t Same as --insecure but used in HTTPS proxy context.", "\n\t Every secure connection curl makes is verified to be secure before", "\t the transfer takes place. This option makes curl skip the", "\t verification step with a proxy and proceed without checking.", "\n\t When this option is not used for a proxy using HTTPS, curl", "\t verifies the proxy's TLS certificate before it continues: that the", "\t certificate contains the right name which matches the hostname and", "\t that the certificate has been signed by a CA certificate present", "\t in the cert store. See this online resource for further details:", "\t https://curl.se/docs/sslcerts.html", "\n\t WARNING: using this option makes the transfer to the proxy", "\t insecure. Providing --proxy-insecure multiple times has no extra", "\t effect. Disable it again with --no-proxy-insecure.", "\n\t Example:", "\t curl --proxy-insecure -x https://proxy https://example.com", "\n\t See also --proxy and --insecure.", "\n --proxy-key ", "\t Specify the filename for your private key when using client", "\t certificates with your HTTPS proxy. This option is the equivalent", "\t to --key but used in HTTPS proxy context. If --proxy-key is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --proxy-key here -x https://proxy https://example.com", "\n\t See also --proxy-key-type and --proxy.", "\n --proxy-key-type ", "\t Specify the private key file type your --proxy-key provided", "\t private key uses. DER, PEM, and ENG are supported. If not", "\t specified, PEM is assumed.", "\n\t Equivalent to --key-type but used in HTTPS proxy context. If", "\t --proxy-key-type is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-key-type DER --proxy-key here -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-key and --proxy.", "\n --proxy-negotiate", "\t Use HTTP Negotiate (SPNEGO) authentication when communicating with", "\t the given proxy. Use --negotiate for enabling HTTP Negotiate", "\t (SPNEGO) with a remote host. Providing --proxy-negotiate multiple", "\t times has no extra effect.", "\n\t Example:", "\t curl --proxy-negotiate --proxy-user user:passwd -x proxy \\", "\t\t https://example.com", "\n\t See also --proxy-anyauth, --proxy-basic and --proxy-service-name.", "\n --proxy-ntlm", "\t Use HTTP NTLM authentication when communicating with the given", "\t proxy. Use --ntlm for enabling NTLM with a remote host. Providing", "\t --proxy-ntlm multiple times has no extra effect.", "\n\t Example:", "\t curl --proxy-ntlm --proxy-user user:passwd -x http://proxy \\", "\t\t https://example.com", "\n\t See also --proxy-negotiate, --proxy-anyauth and --proxy-user.", "\n --proxy-pass ", "\t Passphrase for the private key for HTTPS proxy client certificate.", "\n\t Equivalent to --pass but used in HTTPS proxy context. If", "\t --proxy-pass is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --proxy-pass secret --proxy-key here -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy and --proxy-key.", "\n --proxy-pinnedpubkey ", "\t (TLS) Use the specified public key file (or hashes) to verify the", "\t proxy. This can be a path to a file which contains a single public", "\t key in PEM or DER format, or any number of base64 encoded sha256", "\t hashes preceded by 'sha256//' and separated by ';'.", "\n\t When negotiating a TLS or SSL connection, the server sends a", "\t certificate indicating its identity. A public key is extracted", "\t from this certificate and if it does not exactly match the public", "\t key provided to this option, curl aborts the connection before", "\t sending or receiving any data.", "\n\t Before curl 8.10.0 this option did not work due to a bug. If", "\t --proxy-pinnedpubkey is provided several times, the last set value", "\t is used.", "\n\t Examples:", "\t curl --proxy-pinnedpubkey keyfile https://example.com", "\t curl --proxy-pinnedpubkey 'sha256//ce118b51897f4452dc' \\", "\t\t https://example.com", "\n\t See also --pinnedpubkey and --proxy.", "\n --proxy-service-name ", "\t Set the service name for SPNEGO when doing proxy authentication.", "\t If --proxy-service-name is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --proxy-service-name \"shrubbery\" -x proxy \\", "\t\t https://example.com", "\n\t See also --service-name, --proxy and --proxy-negotiate.", "\n --proxy-ssl-allow-beast", "\t Do not work around a security flaw in the TLS1.0 protocol known as", "\t BEAST when communicating to an HTTPS proxy. If this option is not", "\t used, the TLS layer may use workarounds known to cause", "\t interoperability problems with some older server implementations.", "\n\t This option only changes how curl does TLS 1.0 with an HTTPS proxy", "\t and has no effect on later TLS versions.", "\n\t WARNING: this option loosens the TLS security, and by using this", "\t flag you ask for exactly that.", "\n\t Equivalent to --ssl-allow-beast but used in HTTPS proxy context.", "\t Providing --proxy-ssl-allow-beast multiple times has no extra", "\t effect. Disable it again with --no-proxy-ssl-allow-beast.", "\n\t Example:", "\t curl --proxy-ssl-allow-beast -x https://proxy https://example.com", "\n\t See also --ssl-allow-beast and --proxy.", "\n --proxy-ssl-auto-client-cert", "\t Same as --ssl-auto-client-cert but used in HTTPS proxy context.", "\n\t This is only supported by Schannel. Providing", "\t --proxy-ssl-auto-client-cert multiple times has no extra effect.", "\t Disable it again with --no-proxy-ssl-auto-client-cert.", "\n\t Example:", "\t curl --proxy-ssl-auto-client-cert -x https://proxy \\", "\t\t https://example.com", "\n\t Added in 7.77.0. See also --ssl-auto-client-cert and --proxy.", "\n --proxy-tls13-ciphers ", "\t (TLS) Same as --tls13-ciphers but used in HTTPS proxy context.", "\n\t Specify which cipher suites to use in the connection to your HTTPS", "\t proxy when it negotiates TLS 1.3. The list of ciphers suites must", "\t specify valid ciphers. Read up on TLS 1.3 cipher suite details on", "\t this URL:", "\n\t https://curl.se/docs/ssl-ciphers.html", "\n\t This option is used when curl is built to use OpenSSL 1.1.1 or", "\t later, Schannel, wolfSSL, or mbedTLS 3.6.0 or later.", "\n\t Before curl 8.10.0 with mbedTLS or wolfSSL, TLS 1.3 cipher suites", "\t where set by using the --proxy-ciphers option. If", "\t --proxy-tls13-ciphers is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --proxy-tls13-ciphers TLS_AES_128_GCM_SHA256 -x proxy \\", "\t\t https://example.com", "\n\t Added in 7.61.0. See also --proxy-ciphers, --tls13-ciphers and", "\t --proxy.", "\n --proxy-tlsauthtype ", "\t Set TLS authentication type with HTTPS proxy. The only supported", "\t option is \"SRP\", for TLS-SRP (RFC 5054). This option works only if", "\t the underlying libcurl is built with TLS-SRP support.", "\n\t Equivalent to --tlsauthtype but used in HTTPS proxy context. If", "\t --proxy-tlsauthtype is provided several times, the last set value", "\t is used.", "\n\t Example:", "\t curl --proxy-tlsauthtype SRP -x https://proxy https://example.com", "\n\t See also --proxy, --proxy-tlsuser and --proxy-tlspassword.", "\n --proxy-tlspassword ", "\t Set password to use with the TLS authentication method specified", "\t with --proxy-tlsauthtype when using HTTPS proxy. Requires that", "\t --proxy-tlsuser is set.", "\n\t This option does not work with TLS 1.3.", "\n\t Equivalent to --tlspassword but used in HTTPS proxy context. If", "\t --proxy-tlspassword is provided several times, the last set value", "\t is used.", "\n\t Example:", "\t curl --proxy-tlspassword passwd -x https://proxy \\", "\t\t https://example.com", "\n\t See also --proxy and --proxy-tlsuser.", "\n --proxy-tlsuser ", "\t Set username for use for HTTPS proxy with the TLS authentication", "\t method specified with --proxy-tlsauthtype. Requires that", "\t --proxy-tlspassword also is set.", "\n\t This option does not work with TLS 1.3. If --proxy-tlsuser is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --proxy-tlsuser smith -x https://proxy https://example.com", "\n\t See also --proxy and --proxy-tlspassword.", "\n --proxy-tlsv1", "\t Use at least TLS version 1.x when negotiating with an HTTPS proxy.", "\t That means TLS version 1.0 or higher", "\n\t Equivalent to --tlsv1 but for an HTTPS proxy context. Providing", "\t --proxy-tlsv1 multiple times has no extra effect.", "\n\t Example:", "\t curl --proxy-tlsv1 -x https://proxy https://example.com", "\n\t See also --proxy.", "\n -U, --proxy-user ", "\t Specify the username and password to use for proxy authentication.", "\n\t If you use a Windows SSPI-enabled curl binary and do either", "\t Negotiate or NTLM authentication then you can tell curl to select", "\t the username and password from your environment by specifying a", "\t single colon with this option: \"-U :\".", "\n\t On systems where it works, curl hides the given option argument", "\t from process listings. This is not enough to protect credentials", "\t from possibly getting seen by other users on the same system as", "\t they still are visible for a moment before cleared. Such sensitive", "\t data should be retrieved from a file instead or similar and never", "\t used in clear text in a command line. If --proxy-user is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --proxy-user smith:secret -x proxy https://example.com", "\n\t See also --proxy-pass.", "\n --proxy1.0 ", "\t Use the specified HTTP 1.0 proxy. If the port number is not", "\t specified, it is assumed at port 1080.", "\n\t The only difference between this and the HTTP proxy option", "\t --proxy, is that attempts to use CONNECT through the proxy", "\t specifies an HTTP 1.0 protocol instead of the default HTTP 1.1.", "\t Providing --proxy1.0 multiple times has no extra effect.", "\n\t Example:", "\t curl --proxy1.0 http://proxy https://example.com", "\n\t See also --proxy, --socks5 and --preproxy.", "\n -p, --proxytunnel", "\t When an HTTP proxy is used --proxy, this option makes curl tunnel", "\t the traffic through the proxy. The tunnel approach is made with", "\t the HTTP proxy CONNECT request and requires that the proxy allows", "\t direct connect to the remote port number curl wants to tunnel", "\t through to.", "\n\t To suppress proxy CONNECT response headers when curl is set to", "\t output headers use --suppress-connect-headers. Providing", "\t --proxytunnel multiple times has no extra effect. Disable it again", "\t with --no-proxytunnel.", "\n\t Example:", "\t curl --proxytunnel -x http://proxy https://example.com", "\n\t See also --proxy.", "\n --pubkey ", "\t (SFTP SCP) Public key filename. Allows you to provide your public", "\t key in this separate file.", "\n\t curl attempts to automatically extract the public key from the", "\t private key file, so passing this option is generally not", "\t required. Note that this public key extraction requires libcurl to", "\t be linked against a copy of libssh2 1.2.8 or higher that is itself", "\t linked against OpenSSL. If --pubkey is provided several times, the", "\t last set value is used.", "\n\t Example:", "\t curl --pubkey file.pub sftp://example.com/", "\n\t See also --pass.", "\n -Q, --quote ", "\t (FTP SFTP) Send an arbitrary command to the remote FTP or SFTP", "\t server. Quote commands are sent BEFORE the transfer takes place", "\t (just after the initial PWD command in an FTP transfer, to be", "\t exact). To make commands take place after a successful transfer,", "\t prefix them with a dash '-'.", "\n\t (FTP only) To make commands be sent after curl has changed the", "\t working directory, just before the file transfer command(s),", "\t prefix the command with a '+'. This is not performed when a", "\t directory listing is performed.", "\n\t You may specify any number of commands.", "\n\t By default curl stops at first failure. To make curl continue even", "\t if the command fails, prefix the command with an asterisk (*).", "\t Otherwise, if the server returns failure for one of the commands,", "\t the entire operation is aborted.", "\n\t You must send syntactically correct FTP commands as RFC 959", "\t defines to FTP servers, or one of the commands listed below to", "\t SFTP servers.", "\n\t SFTP is a binary protocol. Unlike for FTP, curl interprets SFTP", "\t quote commands itself before sending them to the server. Filenames", "\t may be quoted shell-style to embed spaces or special characters.", "\t Following is the list of all supported SFTP quote commands:", "\n\t atime date file", "\n\t\tThe atime command sets the last access time of the file named", "\t\tby the file operand. The date expression can be all sorts of", "\t\tdate strings, see the curl_getdate(3) man page for date", "\t\texpression details. (Added in 7.73.0)", "\n\t chgrp group file", "\n\t\tThe chgrp command sets the group ID of the file named by the", "\t\tfile operand to the group ID specified by the group operand.", "\t\tThe group operand is a decimal integer group ID.", "\n\t chmod mode file", "\n\t\tThe chmod command modifies the file mode bits of the specified", "\t\tfile. The mode operand is an octal integer mode number.", "\n\t chown user file", "\n\t\tThe chown command sets the owner of the file named by the file", "\t\toperand to the user ID specified by the user operand. The user", "\t\toperand is a decimal integer user ID.", "\n\t ln source_file target_file", "\n\t\tThe ln and symlink commands create a symbolic link at the", "\t\ttarget_file location pointing to the source_file location.", "\n\t mkdir directory_name", "\n\t\tThe mkdir command creates the directory named by the", "\t\tdirectory_name operand.", "\n\t mtime date file", "\n\t\tThe mtime command sets the last modification time of the file", "\t\tnamed by the file operand. The date expression can be all", "\t\tsorts of date strings, see the curl_getdate(3) man page for", "\t\tdate expression details. (Added in 7.73.0)", "\n\t pwd", "\n\t\tThe pwd command returns the absolute path name of the current", "\t\tworking directory.", "\n\t rename source target", "\n\t\tThe rename command renames the file or directory named by the", "\t\tsource operand to the destination path named by the target", "\t\toperand.", "\n\t rm file", "\n\t\tThe rm command removes the file specified by the file operand.", "\n\t rmdir directory", "\n\t\tThe rmdir command removes the directory entry specified by the", "\t\tdirectory operand, provided it is empty.", "\n\t symlink source_file target_file", "\n\t\tSee ln.", "\n\t --quote can be used several times in a command line", "\n\t Example:", "\t curl --quote \"DELE file\" ftp://example.com/foo", "\n\t See also --request.", "\n --random-file ", "\t Deprecated option. This option is ignored (added in 7.84.0). Prior", "\t to that it only had an effect on curl if built to use old versions", "\t of OpenSSL.", "\n\t Specify the path name to file containing random data. The data may", "\t be used to seed the random engine for SSL connections. If", "\t --random-file is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --random-file rubbish https://example.com", "\n\t See also --egd-file.", "\n -r, --range ", "\t (HTTP FTP SFTP FILE) Retrieve a byte range (i.e. a partial", "\t document) from an HTTP/1.1, FTP or SFTP server or a local FILE.", "\t Ranges can be specified in a number of ways.", "\n\t 0-499", "\n\t\tspecifies the first 500 bytes", "\n\t 500-999", "\n\t\tspecifies the second 500 bytes", "\n\t -500", "\n\t\tspecifies the last 500 bytes", "\n\t 9500-", "\n\t\tspecifies the bytes from offset 9500 and forward", "\n\t 0-0,-1", "\n\t\tspecifies the first and last byte only(*)(HTTP)", "\n\t 100-199,500-599", "\n\t\tspecifies two separate 100-byte ranges(*) (HTTP) (*) = NOTE", "\t\tthat these make the server reply with a multipart response,", "\t\twhich is returned as-is by curl! Parsing or otherwise", "\t\ttransforming this response is the responsibility of the", "\t\tcaller.", "\n\t\tOnly digit characters (0-9) are valid in the 'start' and", "\t\t'stop' fields of the 'start-stop' range syntax. If a non-digit", "\t\tcharacter is given in the range, the server's response is", "\t\tunspecified, depending on the server's configuration.", "\n\t\tMany HTTP/1.1 servers do not have this feature enabled, so", "\t\tthat when you attempt to get a range, curl instead gets the", "\t\twhole document.", "\n\t\tFTP and SFTP range downloads only support the simple", "\t\t'start-stop' syntax (optionally with one of the numbers", "\t\tomitted). FTP use depends on the extended FTP command SIZE.", "\n\t If --range is provided several times, the last set value is used.", "\n\t Example:", "\t curl --range 22-44 https://example.com", "\n\t See also --continue-at and --append.", "\n --rate ", "\t Specify the maximum transfer frequency you allow curl to use - in", "\t number of transfer starts per time unit (sometimes called request", "\t rate). Without this option, curl starts the next transfer as fast", "\t as possible.", "\n\t If given several URLs and a transfer completes faster than the", "\t allowed rate, curl waits until the next transfer is started to", "\t maintain the requested rate. This option has no effect when", "\t --parallel is used.", "\n\t The request rate is provided as \"N/U\" where N is an integer number", "\t and U is a time unit. Supported units are 's' (second), 'm'", "\t (minute), 'h' (hour) and 'd' /(day, as in a 24 hour unit). The", "\t default time unit, if no \"/U\" is provided, is number of transfers", "\t per hour.", "\n\t If curl is told to allow 10 requests per minute, it does not start", "\t the next request until 6 seconds have elapsed since the previous", "\t transfer was started.", "\n\t This function uses millisecond resolution. If the allowed", "\t frequency is set more than 1000 per second, it instead runs", "\t unrestricted.", "\n\t When retrying transfers, enabled with --retry, the separate retry", "\t delay logic is used and not this setting.", "\n\t Starting in version 8.10.0, you can specify number of time units", "\t in the rate expression. Make curl do no more than 5 transfers per", "\t 15 seconds with \"5/15s\" or limit it to 3 transfers per 4 hours", "\t with \"3/4h\". No spaces allowed.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. If --rate is provided several times, the last set", "\t value is used.", "\n\t Examples:", "\t curl --rate 2/s https://example.com ...", "\t curl --rate 3/h https://example.com ...", "\t curl --rate 14/m https://example.com ...", "\n\t Added in 7.84.0. See also --limit-rate and --retry-delay.", "\n --raw", "\t (HTTP) When used, it disables all internal HTTP decoding of", "\t content or transfer encodings and instead makes them passed on", "\t unaltered, raw. Providing --raw multiple times has no extra", "\t effect. Disable it again with --no-raw.", "\n\t Example:", "\t curl --raw https://example.com", "\n\t See also --tr-encoding.", "\n -e, --referer ", "\t (HTTP) Set the referrer URL in the HTTP request. This can also be", "\t set with the --header flag of course. When used with --location", "\t you can append \";auto\"\" to the --referer URL to make curl", "\t automatically set the previous URL when it follows a Location:", "\t header. The \";auto\" string can be used alone, even if you do not", "\t set an initial --referer. If --referer is provided several times,", "\t the last set value is used.", "\n\t Examples:", "\t curl --referer \"https://fake.example\" https://example.com", "\t curl --referer \"https://fake.example;auto\" -L https://example.com", "\t curl --referer \";auto\" -L https://example.com", "\n\t See also --user-agent and --header.", "\n -J, --remote-header-name", "\t (HTTP) Tell the --remote-name option to use the server-specified", "\t Content-Disposition filename instead of extracting a filename from", "\t the URL. If the server-provided filename contains a path, that is", "\t stripped off before the filename is used.", "\n\t The file is saved in the current directory, or in the directory", "\t specified with --output-dir.", "\n\t If the server specifies a filename and a file with that name", "\t already exists in the destination directory, it is not overwritten", "\t and an error occurs - unless you allow it by using the --clobber", "\t option. If the server does not specify a filename then this option", "\t has no effect.", "\n\t There is no attempt to decode %-sequences (yet) in the provided", "\t filename, so this option may provide you with rather unexpected", "\t filenames.", "\n\t This feature uses the name from the \"filename\" field, it does not", "\t yet support the \"filename*\" field (filenames with explicit", "\t character sets).", "\n\t WARNING: Exercise judicious use of this option, especially on", "\t Windows. A rogue server could send you the name of a DLL or other", "\t file that could be loaded automatically by Windows or some third", "\t party software. Providing --remote-header-name multiple times has", "\t no extra effect. Disable it again with --no-remote-header-name.", "\n\t Example:", "\t curl -OJ https://example.com/file", "\n\t See also --remote-name.", "\n -O, --remote-name", "\t Write output to a local file named like the remote file we get.", "\t (Only the file part of the remote file is used, the path is cut", "\t off.)", "\n\t The file is saved in the current working directory. If you want", "\t the file saved in a different directory, make sure you change the", "\t current working directory before invoking curl with this option or", "\t use --output-dir.", "\n\t The remote filename to use for saving is extracted from the given", "\t URL, nothing else, and if it already exists it is overwritten. If", "\t you want the server to be able to choose the filename refer to", "\t --remote-header-name which can be used in addition to this option.", "\t If the server chooses a filename and that name already exists it", "\t is not overwritten.", "\n\t There is no URL decoding done on the filename. If it has %20 or", "\t other URL encoded parts of the name, they end up as-is as", "\t filename.", "\n\t You may use this option as many times as the number of URLs you", "\t have.", "\n\t Before curl 8.10.0, curl returned an error if the URL ended with a", "\t slash, which means that there is no filename part in the URL.", "\t Starting in 8.10.0, curl sets the filename to the last directory", "\t part of the URL or if that also is missing to \"curl_response\"", "\t (without extension) for this situation. --remote-name is", "\t associated with a single URL. Use it once per URL when you use", "\t several URLs in a command line.", "\n\t Examples:", "\t curl -O https://example.com/filename", "\t curl -O https://example.com/filename -O https://example.com/file2", "\n\t See also --remote-name-all, --output-dir and --remote-header-name.", "\n --remote-name-all", "\t Change the default action for all given URLs to be dealt with as", "\t if --remote-name were used for each one. If you want to disable", "\t that for a specific URL after --remote-name-all has been used, you", "\t must use \"-o -\" or --no-remote-name. Providing --remote-name-all", "\t multiple times has no extra effect. Disable it again with", "\t --no-remote-name-all.", "\n\t Example:", "\t curl --remote-name-all ftp://example.com/file1 \\", "\t\t ftp://example.com/file2", "\n\t See also --remote-name.", "\n -R, --remote-time", "\t Makes curl attempt to figure out the timestamp of the remote file", "\t that is getting downloaded, and if that is available make the", "\t local file get that same timestamp. Providing --remote-time", "\t multiple times has no extra effect. Disable it again with", "\t --no-remote-time.", "\n\t Example:", "\t curl --remote-time -o foo https://example.com", "\n\t See also --remote-name and --time-cond.", "\n --remove-on-error", "\t Remove output file if an error occurs. If curl returns an error", "\t when told to save output in a local file. This prevents curl from", "\t leaving a partial file in the case of an error during transfer.", "\n\t If the output is not a regular file, this option has no effect.", "\t Providing --remove-on-error multiple times has no extra effect.", "\t Disable it again with --no-remove-on-error.", "\n\t Example:", "\t curl --remove-on-error -o output https://example.com", "\n\t Added in 7.83.0. See also --fail.", "\n -X, --request ", "\t Change the method to use when starting the transfer.", "\n\t curl passes on the verbatim string you give it in the request", "\t without any filter or other safe guards. That includes white space", "\t and control characters.", "\n\t HTTP", "\n\t\tSpecifies a custom request method to use when communicating", "\t\twith the HTTP server. The specified request method is used", "\t\tinstead of the method otherwise used (which defaults to GET).", "\t\tRead the HTTP 1.1 specification for details and explanations.", "\t\tCommon additional HTTP requests include PUT and DELETE, while", "\t\trelated technologies like WebDAV offers PROPFIND, COPY, MOVE", "\t\tand more.", "\n\t\tNormally you do not need this option. All sorts of GET, HEAD,", "\t\tPOST and PUT requests are rather invoked by using dedicated", "\t\tcommand line options.", "\n\t\tThis option only changes the actual word used in the HTTP", "\t\trequest, it does not alter the way curl behaves. For example", "\t\tif you want to make a proper HEAD request, using -X HEAD does", "\t\tnot suffice. You need to use the --head option.", "\n\t\tThe method string you set with --request is used for all", "\t\trequests, which if you for example use --location may cause", "\t\tunintended side-effects when curl does not change request", "\t\tmethod according to the HTTP 30x response codes - and similar.", "\n\t FTP", "\n\t\tSpecifies a custom FTP command to use instead of LIST when", "\t\tdoing file lists with FTP.", "\n\t POP3", "\n\t\tSpecifies a custom POP3 command to use instead of LIST or", "\t\tRETR.", "\n\t IMAP", "\n\t\tSpecifies a custom IMAP command to use instead of LIST.", "\n\t SMTP", "\n\t\tSpecifies a custom SMTP command to use instead of HELP or", "\t\tVRFY.", "\n\t If --request is provided several times, the last set value is", "\t used.", "\n\t Examples:", "\t curl -X \"DELETE\" https://example.com", "\t curl -X NLST ftp://example.com/", "\n\t See also --request-target.", "\n --request-target ", "\t (HTTP) Use an alternative target (path) instead of using the path", "\t as provided in the URL. Particularly useful when wanting to issue", "\t HTTP requests without leading slash or other data that does not", "\t follow the regular URL pattern, like \"OPTIONS *\".", "\n\t curl passes on the verbatim string you give it its the request", "\t without any filter or other safe guards. That includes white space", "\t and control characters. If --request-target is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --request-target \"*\" -X OPTIONS https://example.com", "\n\t See also --request.", "\n --resolve <[+]host:port:addr[,addr]...>", "\t Provide a custom address for a specific host and port pair. Using", "\t this, you can make the curl requests(s) use a specified address", "\t and prevent the otherwise normally resolved address to be used.", "\t Consider it a sort of /etc/hosts alternative provided on the", "\t command line. The port number should be the number used for the", "\t specific protocol the host is used for. It means you need several", "\t entries if you want to provide address for the same host but", "\t different ports.", "\n\t By specifying \"*\" as host you can tell curl to resolve any host", "\t and specific port pair to the specified address. Wildcard is", "\t resolved last so any --resolve with a specific host and port is", "\t used first.", "\n\t The provided address set by this option is used even if --ipv4 or", "\t --ipv6 is set to make curl use another IP version.", "\n\t By prefixing the host with a '+' you can make the entry time out", "\t after curl's default timeout (1 minute). Note that this only makes", "\t sense for long running parallel transfers with a lot of files. In", "\t such cases, if this option is used curl tries to resolve the host", "\t as it normally would once the timeout has expired.", "\n\t To redirect connects from a specific hostname or any hostname,", "\t independently of port number, consider the --connect-to option.", "\n\t Support for resolving with wildcard was added in 7.64.0.", "\n\t Support for the '+' prefix was added in 7.75.0. --resolve can be", "\t used several times in a command line", "\n\t Example:", "\t curl --resolve example.com:443:127.0.0.1 https://example.com", "\n\t See also --connect-to and --alt-svc.", "\n --retry ", "\t If a transient error is returned when curl tries to perform a", "\t transfer, it retries this number of times before giving up.", "\t Setting the number to 0 makes curl do no retries (which is the", "\t default). Transient error means either: a timeout, an FTP 4xx", "\t response code or an HTTP 408, 429, 500, 502, 503 or 504 response", "\t code.", "\n\t When curl is about to retry a transfer, it first waits one second", "\t and then for all forthcoming retries it doubles the waiting time", "\t until it reaches 10 minutes which then remains delay between the", "\t rest of the retries. By using --retry-delay you disable this", "\t exponential backoff algorithm. See also --retry-max-time to limit", "\t the total time allowed for retries.", "\n\t curl complies with the Retry-After: response header if one was", "\t present to know when to issue the next retry (added in 7.66.0). If", "\t --retry is provided several times, the last set value is used.", "\n\t Example:", "\t curl --retry 7 https://example.com", "\n\t See also --retry-max-time.", "\n --retry-all-errors", "\t Retry on any error. This option is used together with --retry.", "\n\t This option is the \"sledgehammer\" of retrying. Do not use this", "\t option by default (for example in your curlrc), there may be", "\t unintended consequences such as sending or receiving duplicate", "\t data. Do not use with redirected input or output. You might be", "\t better off handling your unique problems in a shell script. Please", "\t read the example below.", "\n\t WARNING: For server compatibility curl attempts to retry failed", "\t flaky transfers as close as possible to how they were started, but", "\t this is not possible with redirected input or output. For example,", "\t before retrying it removes output data from a failed partial", "\t transfer that was written to an output file. However this is not", "\t true of data redirected to a | pipe or > file, which are not", "\t reset. We strongly suggest you do not parse or record output via", "\t redirect in combination with this option, since you may receive", "\t duplicate data.", "\n\t By default curl does not return error for transfers with an HTTP", "\t response code that indicates an HTTP error, if the transfer was", "\t successful. For example, if a server replies 404 Not Found and the", "\t reply is fully received then that is not an error. When --retry is", "\t used then curl retries on some HTTP response codes that indicate", "\t transient HTTP errors, but that does not include most 4xx response", "\t codes such as 404. If you want to retry on all response codes that", "\t indicate HTTP errors (4xx and 5xx) then combine with --fail.", "\t Providing --retry-all-errors multiple times has no extra effect.", "\t Disable it again with --no-retry-all-errors.", "\n\t Example:", "\t curl --retry 5 --retry-all-errors https://example.com", "\n\t Added in 7.71.0. See also --retry.", "\n --retry-connrefused", "\t In addition to the other conditions, consider ECONNREFUSED as a", "\t transient error too for --retry. This option is used together with", "\t --retry. Providing --retry-connrefused multiple times has no extra", "\t effect. Disable it again with --no-retry-connrefused.", "\n\t Example:", "\t curl --retry-connrefused --retry 7 https://example.com", "\n\t See also --retry and --retry-all-errors.", "\n --retry-delay ", "\t Make curl sleep this amount of time before each retry when a", "\t transfer has failed with a transient error (it changes the default", "\t backoff time algorithm between retries). This option is only", "\t interesting if --retry is also used. Setting this delay to zero", "\t makes curl use the default backoff time. If --retry-delay is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --retry-delay 5 --retry 7 https://example.com", "\n\t See also --retry.", "\n --retry-max-time ", "\t The retry timer is reset before the first transfer attempt.", "\t Retries are done as usual (see --retry) as long as the timer has", "\t not reached this given limit. Notice that if the timer has not", "\t reached the limit, the request is made and while performing, it", "\t may take longer than this given time period. To limit a single", "\t request's maximum time, use --max-time. Set this option to zero to", "\t not timeout retries. If --retry-max-time is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --retry-max-time 30 --retry 10 https://example.com", "\n\t See also --retry.", "\n --sasl-authzid ", "\t Use this authorization identity (authzid), during SASL PLAIN", "\t authentication, in addition to the authentication identity", "\t (authcid) as specified by --user.", "\n\t If the option is not specified, the server derives the authzid", "\t from the authcid, but if specified, and depending on the server", "\t implementation, it may be used to access another user's inbox,", "\t that the user has been granted access to, or a shared mailbox for", "\t example. If --sasl-authzid is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --sasl-authzid zid imap://example.com/", "\n\t Added in 7.66.0. See also --login-options.", "\n --sasl-ir", "\t Enable initial response in SASL authentication. Providing", "\t --sasl-ir multiple times has no extra effect. Disable it again", "\t with --no-sasl-ir.", "\n\t Example:", "\t curl --sasl-ir imap://example.com/", "\n\t See also --sasl-authzid.", "\n --service-name ", "\t Set the service name for SPNEGO. If --service-name is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --service-name sockd/server https://example.com", "\n\t See also --negotiate and --proxy-service-name.", "\n -S, --show-error", "\t When used with --silent, it makes curl show an error message if it", "\t fails.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --show-error multiple times has no extra", "\t effect. Disable it again with --no-show-error.", "\n\t Example:", "\t curl --show-error --silent https://example.com", "\n\t See also --no-progress-meter.", "\n -i, --show-headers", "\t (HTTP FTP) Show response headers in the output. HTTP response", "\t headers can include things like server name, cookies, date of the", "\t document, HTTP version and more. With non-HTTP protocols, the", "\t \"headers\" are other server communication.", "\n\t To view the request headers, consider the --verbose option.", "\n\t Prior to 7.75.0 curl did not print the headers if --fail was used", "\t in combination with this option and there was error reported by", "\t server.", "\n\t This option was called --include before 8.10.0. The previous name", "\t remains functional. Providing --show-headers multiple times has no", "\t extra effect. Disable it again with --no-show-headers.", "\n\t Example:", "\t curl -i https://example.com", "\n\t See also --verbose.", "\n -s, --silent", "\t Silent or quiet mode. Do not show progress meter or error", "\t messages. Makes Curl mute. It still outputs the data you ask for,", "\t potentially even to the terminal/stdout unless you redirect it.", "\n\t Use --show-error in addition to this option to disable progress", "\t meter but still show error messages. Providing --silent multiple", "\t times has no extra effect. Disable it again with --no-silent.", "\n\t Example:", "\t curl -s https://example.com", "\n\t See also --verbose, --stderr and --no-progress-meter.", "\n --skip-existing", "\t If there is a local file present when a download is requested, the", "\t operation is skipped. Note that curl cannot know if the local file", "\t was previously downloaded fine, or if it is incomplete etc, it", "\t just knows if there is a filename present in the file system or", "\t not and it skips the transfer if it is. Providing --skip-existing", "\t multiple times has no extra effect. Disable it again with", "\t --no-skip-existing.", "\n\t Example:", "\t curl --skip-existing --output local/dir/file https://example.com", "\n\t Added in 8.10.0. See also --output, --remote-name and", "\t --no-clobber.", "\n --socks4 ", "\t Use the specified SOCKS4 proxy. If the port number is not", "\t specified, it is assumed at port 1080. Using this socket type make", "\t curl resolve the hostname and passing the address on to the proxy.", "\n\t To specify proxy on a Unix domain socket, use localhost for host,", "\t e.g. \"socks4://localhost/path/to/socket.sock\"", "\n\t This option overrides any previous use of --proxy, as they are", "\t mutually exclusive.", "\n\t This option is superfluous since you can specify a socks4 proxy", "\t with --proxy using a socks4:// protocol prefix.", "\n\t --preproxy can be used to specify a SOCKS proxy at the same time", "\t proxy is used with an HTTP/HTTPS proxy. In such a case, curl first", "\t connects to the SOCKS proxy and then connects (through SOCKS) to", "\t the HTTP or HTTPS proxy. If --socks4 is provided several times,", "\t the last set value is used.", "\n\t Example:", "\t curl --socks4 hostname:4096 https://example.com", "\n\t See also --socks4a, --socks5 and --socks5-hostname.", "\n --socks4a ", "\t Use the specified SOCKS4a proxy. If the port number is not", "\t specified, it is assumed at port 1080. This asks the proxy to", "\t resolve the hostname.", "\n\t To specify proxy on a Unix domain socket, use localhost for host,", "\t e.g. \"socks4a://localhost/path/to/socket.sock\"", "\n\t This option overrides any previous use of --proxy, as they are", "\t mutually exclusive.", "\n\t This option is superfluous since you can specify a socks4a proxy", "\t with --proxy using a socks4a:// protocol prefix.", "\n\t --preproxy can be used to specify a SOCKS proxy at the same time", "\t --proxy is used with an HTTP/HTTPS proxy. In such a case, curl", "\t first connects to the SOCKS proxy and then connects (through", "\t SOCKS) to the HTTP or HTTPS proxy. If --socks4a is provided", "\t several times, the last set value is used.", "\n\t Example:", "\t curl --socks4a hostname:4096 https://example.com", "\n\t See also --socks4, --socks5 and --socks5-hostname.", "\n --socks5 ", "\t Use the specified SOCKS5 proxy - but resolve the hostname locally.", "\t If the port number is not specified, it is assumed at port 1080.", "\n\t To specify proxy on a Unix domain socket, use localhost for host,", "\t e.g. \"socks5://localhost/path/to/socket.sock\"", "\n\t This option overrides any previous use of --proxy, as they are", "\t mutually exclusive.", "\n\t This option is superfluous since you can specify a socks5 proxy", "\t with --proxy using a socks5:// protocol prefix.", "\n\t --preproxy can be used to specify a SOCKS proxy at the same time", "\t --proxy is used with an HTTP/HTTPS proxy. In such a case, curl", "\t first connects to the SOCKS proxy and then connects (through", "\t SOCKS) to the HTTP or HTTPS proxy.", "\n\t This option does not work with FTPS or LDAP. If --socks5 is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --socks5 proxy.example:7000 https://example.com", "\n\t See also --socks5-hostname and --socks4a.", "\n --socks5-basic", "\t Use username/password authentication when connecting to a SOCKS5", "\t proxy. The username/password authentication is enabled by default.", "\t Use --socks5-gssapi to force GSS-API authentication to SOCKS5", "\t proxies. Providing --socks5-basic multiple times has no extra", "\t effect.", "\n\t Example:", "\t curl --socks5-basic --socks5 hostname:4096 https://example.com", "\n\t See also --socks5.", "\n --socks5-gssapi", "\t Use GSS-API authentication when connecting to a SOCKS5 proxy. The", "\t GSS-API authentication is enabled by default (if curl is compiled", "\t with GSS-API support). Use --socks5-basic to force", "\t username/password authentication to SOCKS5 proxies. Providing", "\t --socks5-gssapi multiple times has no extra effect. Disable it", "\t again with --no-socks5-gssapi.", "\n\t Example:", "\t curl --socks5-gssapi --socks5 hostname:4096 https://example.com", "\n\t See also --socks5.", "\n --socks5-gssapi-nec", "\t As part of the GSS-API negotiation a protection mode is", "\t negotiated. RFC 1961 says in section 4.3/4.4 it should be", "\t protected, but the NEC reference implementation does not. The", "\t option --socks5-gssapi-nec allows the unprotected exchange of the", "\t protection mode negotiation. Providing --socks5-gssapi-nec", "\t multiple times has no extra effect. Disable it again with", "\t --no-socks5-gssapi-nec.", "\n\t Example:", "\t curl --socks5-gssapi-nec --socks5 hostname:4096 \\", "\t\t https://example.com", "\n\t See also --socks5.", "\n --socks5-gssapi-service ", "\t Set the service name for a socks server. Default is", "\t rcmd/server-fqdn. If --socks5-gssapi-service is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --socks5-gssapi-service sockd --socks5 hostname:4096 \\", "\t\t https://example.com", "\n\t See also --socks5.", "\n --socks5-hostname ", "\t Use the specified SOCKS5 proxy (and let the proxy resolve the", "\t hostname). If the port number is not specified, it is assumed at", "\t port 1080.", "\n\t To specify proxy on a Unix domain socket, use localhost for host,", "\t e.g. \"socks5h://localhost/path/to/socket.sock\"", "\n\t This option overrides any previous use of --proxy, as they are", "\t mutually exclusive.", "\n\t This option is superfluous since you can specify a socks5 hostname", "\t proxy with --proxy using a socks5h:// protocol prefix.", "\n\t --preproxy can be used to specify a SOCKS proxy at the same time", "\t --proxy is used with an HTTP/HTTPS proxy. In such a case, curl", "\t first connects to the SOCKS proxy and then connects (through", "\t SOCKS) to the HTTP or HTTPS proxy. If --socks5-hostname is", "\t provided several times, the last set value is used.", "\n\t Example:", "\t curl --socks5-hostname proxy.example:7000 https://example.com", "\n\t See also --socks5 and --socks4a.", "\n -Y, --speed-limit ", "\t If a transfer is slower than this set speed (in bytes per second)", "\t for a given number of seconds, it gets aborted. The time period is", "\t set with --speed-time and is 30 seconds by default. If", "\t --speed-limit is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --speed-limit 300 --speed-time 10 https://example.com", "\n\t See also --speed-time, --limit-rate and --max-time.", "\n -y, --speed-time ", "\t If a transfer runs slower than speed-limit bytes per second during", "\t a speed-time period, the transfer is aborted. If speed-time is", "\t used, the default speed-limit is 1 unless set with --speed-limit.", "\n\t This option controls transfers (in both directions) but does not", "\t affect slow connects etc. If this is a concern for you, try the", "\t --connect-timeout option. If --speed-time is provided several", "\t times, the last set value is used.", "\n\t Example:", "\t curl --speed-limit 300 --speed-time 10 https://example.com", "\n\t See also --speed-limit and --limit-rate.", "\n --ssl", "\t (FTP IMAP POP3 SMTP LDAP) Warning: this is considered an insecure", "\t option. Consider using --ssl-reqd instead to be sure curl upgrades", "\t to a secure connection.", "\n\t Try to use SSL/TLS for the connection - often referred to as", "\t STARTTLS or STLS because of the involved commands. Reverts to a", "\t non-secure connection if the server does not support SSL/TLS. See", "\t also --ftp-ssl-control and --ssl-reqd for different levels of", "\t encryption required.", "\n\t This option is handled in LDAP (added in 7.81.0). It is fully", "\t supported by the OpenLDAP backend and ignored by the generic ldap", "\t backend.", "\n\t Please note that a server may close the connection if the", "\t negotiation does not succeed.", "\n\t This option was formerly known as --ftp-ssl. That option name can", "\t still be used but might be removed in a future version. Providing", "\t --ssl multiple times has no extra effect. Disable it again with", "\t --no-ssl.", "\n\t Example:", "\t curl --ssl pop3://example.com/", "\n\t See also --ssl-reqd, --insecure and --ciphers.", "\n --ssl-allow-beast", "\t (TLS) Do not work around a security flaw in the TLS1.0 protocol", "\t known as BEAST. If this option is not used, the TLS layer may use", "\t workarounds known to cause interoperability problems with some", "\t older server implementations.", "\n\t This option only changes how curl does TLS 1.0 and has no effect", "\t on later TLS versions.", "\n\t WARNING: this option loosens the TLS security, and by using this", "\t flag you ask for exactly that. Providing --ssl-allow-beast", "\t multiple times has no extra effect. Disable it again with", "\t --no-ssl-allow-beast.", "\n\t Example:", "\t curl --ssl-allow-beast https://example.com", "\n\t See also --proxy-ssl-allow-beast and --insecure.", "\n --ssl-auto-client-cert", "\t (TLS) (Schannel) Automatically locate and use a client certificate", "\t for authentication, when requested by the server. Since the server", "\t can request any certificate that supports client authentication in", "\t the OS certificate store it could be a privacy violation and", "\t unexpected. Providing --ssl-auto-client-cert multiple times has no", "\t extra effect. Disable it again with --no-ssl-auto-client-cert.", "\n\t Example:", "\t curl --ssl-auto-client-cert https://example.com", "\n\t Added in 7.77.0. See also --proxy-ssl-auto-client-cert.", "\n --ssl-no-revoke", "\t (TLS) (Schannel) Disable certificate revocation checks. WARNING:", "\t this option loosens the SSL security, and by using this flag you", "\t ask for exactly that. Providing --ssl-no-revoke multiple times has", "\t no extra effect. Disable it again with --no-ssl-no-revoke.", "\n\t Example:", "\t curl --ssl-no-revoke https://example.com", "\n\t See also --crlfile.", "\n --ssl-reqd", "\t (FTP IMAP POP3 SMTP LDAP) Require SSL/TLS for the connection -", "\t often referred to as STARTTLS or STLS because of the involved", "\t commands. Terminates the connection if the transfer cannot be", "\t upgraded to use SSL/TLS.", "\n\t This option is handled in LDAP (added in 7.81.0). It is fully", "\t supported by the OpenLDAP backend and rejected by the generic ldap", "\t backend if explicit TLS is required.", "\n\t This option is unnecessary if you use a URL scheme that in itself", "\t implies immediate and implicit use of TLS, like for FTPS, IMAPS,", "\t POP3S, SMTPS and LDAPS. Such a transfer always fails if the TLS", "\t handshake does not work.", "\n\t This option was formerly known as --ftp-ssl-reqd. Providing", "\t --ssl-reqd multiple times has no extra effect. Disable it again", "\t with --no-ssl-reqd.", "\n\t Example:", "\t curl --ssl-reqd ftp://example.com", "\n\t See also --ssl and --insecure.", "\n --ssl-revoke-best-effort", "\t (TLS) (Schannel) Ignore certificate revocation checks when they", "\t failed due to missing/offline distribution points for the", "\t revocation check lists. Providing --ssl-revoke-best-effort", "\t multiple times has no extra effect. Disable it again with", "\t --no-ssl-revoke-best-effort.", "\n\t Example:", "\t curl --ssl-revoke-best-effort https://example.com", "\n\t Added in 7.70.0. See also --crlfile and --insecure.", "\n -2, --sslv2", "\t (SSL) This option previously asked curl to use SSLv2, but is now", "\t ignored (added in 7.77.0). SSLv2 is widely considered insecure", "\t (see RFC 6176). Providing --sslv2 multiple times has no extra", "\t effect.", "\n\t Example:", "\t curl --sslv2 https://example.com", "\n\t --sslv2 requires that libcurl is built to support TLS. This option", "\t is mutually exclusive with --sslv3, --tlsv1, --tlsv1.1 and", "\t --tlsv1.2. See also --http1.1 and --http2.", "\n -3, --sslv3", "\t (SSL) This option previously asked curl to use SSLv3, but is now", "\t ignored (added in 7.77.0). SSLv3 is widely considered insecure", "\t (see RFC 7568). Providing --sslv3 multiple times has no extra", "\t effect.", "\n\t Example:", "\t curl --sslv3 https://example.com", "\n\t --sslv3 requires that libcurl is built to support TLS. This option", "\t is mutually exclusive with --sslv2, --tlsv1, --tlsv1.1 and", "\t --tlsv1.2. See also --http1.1 and --http2.", "\n --stderr ", "\t Redirect all writes to stderr to the specified file instead. If", "\t the filename is a plain '-', it is instead written to stdout.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. If --stderr is provided several times, the last set", "\t value is used.", "\n\t Example:", "\t curl --stderr output.txt https://example.com", "\n\t See also --verbose and --silent.", "\n --styled-output", "\t Enable automatic use of bold font styles when writing HTTP headers", "\t to the terminal. Use --no-styled-output to switch them off.", "\n\t Styled output requires a terminal that supports bold fonts. This", "\t feature is not present on curl for Windows due to lack of this", "\t capability.", "\n\t This option is global and does not need to be specified for each", "\t use of --next. Providing --styled-output multiple times has no", "\t extra effect. Disable it again with --no-styled-output.", "\n\t Example:", "\t curl --styled-output -I https://example.com", "\n\t Added in 7.61.0. See also --head and --verbose.", "\n --suppress-connect-headers", "\t When --proxytunnel is used and a CONNECT request is made do not", "\t output proxy CONNECT response headers. This option is meant to be", "\t used with --dump-header or --show-headers which are used to show", "\t protocol headers in the output. It has no effect on debug options", "\t such as --verbose or --trace, or any statistics. Providing", "\t --suppress-connect-headers multiple times has no extra effect.", "\t Disable it again with --no-suppress-connect-headers.", "\n\t Example:", "\t curl --suppress-connect-headers --show-headers -x proxy \\", "\t\t https://example.com", "\n\t See also --dump-header, --show-headers and --proxytunnel.", "\n --tcp-fastopen", "\t Enable use of TCP Fast Open (RFC 7413). TCP Fast Open is a TCP", "\t extension that allows data to get sent earlier over the connection", "\t (before the final handshake ACK) if the client and server have", "\t been connected previously. Providing --tcp-fastopen multiple times", "\t has no extra effect. Disable it again with --no-tcp-fastopen.", "\n\t Example:", "\t curl --tcp-fastopen https://example.com", "\n\t See also --false-start.", "\n --tcp-nodelay", "\t Turn on the TCP_NODELAY option. See the curl_easy_setopt(3) man", "\t page for details about this option.", "\n\t curl sets this option by default and you need to explicitly switch", "\t it off if you do not want it on. Providing --tcp-nodelay multiple", "\t times has no extra effect. Disable it again with --no-tcp-nodelay.", "\n\t Example:", "\t curl --tcp-nodelay https://example.com", "\n\t See also --no-buffer.", "\n -t, --telnet-option ", "\t Pass options to the telnet protocol. Supported options are:", "\n\t TTYPE=", "\n\t\tSets the terminal type.", "\n\t XDISPLOC=", "\n\t\tSets the X display location.", "\n\t NEW_ENV=", "\n\t\tSets an environment variable.", "\n\t --telnet-option can be used several times in a command line", "\n\t Example:", "\t curl -t TTYPE=vt100 telnet://example.com/", "\n\t See also --config.", "\n --tftp-blksize ", "\t (TFTP) Set the TFTP BLKSIZE option (must be 512 or larger). This", "\t is the block size that curl tries to use when transferring data to", "\t or from a TFTP server. By default 512 bytes are used. If", "\t --tftp-blksize is provided several times, the last set value is", "\t used.", "\n\t Example:", "\t curl --tftp-blksize 1024 tftp://example.com/file", "\n\t See also --tftp-no-options.", "\n --tftp-no-options", "\t (TFTP) Do not to send TFTP options requests. This improves interop", "\t with some legacy servers that do not acknowledge or properly", "\t implement TFTP options. When this option is used --tftp-blksize is", "\t ignored. Providing --tftp-no-options multiple times has no extra", "\t effect. Disable it again with --no-tftp-no-options.", "\n\t Example:", "\t curl --tftp-no-options tftp://192.168.0.1/", "\n\t See also --tftp-blksize.", "\n -z, --time-cond