transfer a URL
|
-s, --silent
Silent or quiet mode. Don't show progress meter or error messages. Makes Curl mute.
|
-f, --fail
(HTTP) Fail silently (no output at all) on server errors. This is mostly done to better enable
scripts etc to better deal with failed attempts. In normal cases when a HTTP server fails to
deliver a document, it returns an HTML document stating so (which often also describes why and
more). This flag will prevent curl from outputting that and return error 22.
This method is not fail-safe and there are occasions where non-successful response codes will slip
through, especially when authentication is involved (response codes 401 and 407).
|
-t, --telnet-option <OPT=val>
Pass options to the telnet protocol. Supported options are:
TTYPE=<term> Sets the terminal type.
XDISPLOC=<X display> Sets the X display location.
NEW_ENV=<var,val> Sets an environment variable.
|
-E, --cert <certificate[:password]>
(SSL) Tells curl to use the specified client certificate file when getting a file with HTTPS, FTPS
or another SSL-based protocol. The certificate must be in PEM format. If the optional password
isn't specified, it will be queried for on the terminal. Note that this option assumes a
"certificate" file that is the private key and the private certificate concatenated! See --cert
and --key to specify them independently.
If curl is built against the NSS SSL library then this option can tell curl the nickname of the
certificate to use within the NSS database defined by the environment variable SSL_DIR (or by
default /etc/pki/nssdb). If the NSS PEM PKCS#11 module (libnsspem.so) is available then PEM files
may be loaded. If you want to use a file from the current directory, please precede it with "./"
prefix, in order to avoid confusion with a nickname.
If this option is used several times, the last one will be used.
|
-e, --referer <URL>
(HTTP) Sends the "Referer Page" information to the HTTP server. This can also be set with the -H,
--header flag of course. When used with -L, --location you can append ";auto" to the --referer
URL to make curl automatically set the previous URL when it follows a Location: header. The
";auto" string can be used alone, even if you don't set an initial --referer.
If this option is used several times, the last one will be used.
|