-u, --user <user:password>
Specify the user name and password to use for server authentication. Overrides -n, --netrc and
--netrc-optional.
If you just give the user name (without entering a colon) curl will prompt for a password.
If you use an SSPI-enabled curl binary and do NTLM authentication, you can force curl to pick up
the user name and password from your environment by simply specifying a single colon with this
option: "-u :".
If this option is used several times, the last one will be used.
|
-T, --upload-file <file>
This transfers the specified local file to the remote URL. If there is no file part in the
specified URL, Curl will append the local file name. NOTE that you must use a trailing / on the
last directory to really prove to Curl that there is no file name or curl will think that your
last directory name is the remote file name to use. That will most likely cause the upload
operation to fail. If this is used on a HTTP(S) server, the PUT command will be used.
|