![]() If no ' =' (equals) character is used in the line, it is treated as a file name to use to read previously stored cookie lines from, which should be used in this session if they match. The data should be in the format " NAME1=VALUE1 NAME2=VALUE2". It is expected to be the data previously received from the server in a " Set-Cookie:" line. ![]() ( HTTP) Pass the data to the HTTP server as a cookie. If the need should arise when uploading from stdin, the upload operation fails. Note that using -anyauth is not recommended if you do uploads from stdin since it may require data to be sent twice and then the client must be able to rewind. This is used instead of setting a specific authentication method, which you can do with -basic, -digest, -ntlm, and -negotiate. This is done by first making a request and checking the response-headers, thus possibly inducing a network round-trip. ( HTTP) Tells curl to figure out authentication method by itself, and use the most secure method the remote site claims it supports. If this option is set more than once, the last one will be the one that's used. This value can also be set with the -H/ -header option. To encode blanks in the string, surround the string with single quote marks. ![]() ![]() Some CGI fail if the agent string is not set to " Mozilla/4.0". ( HTTP) Specify the User-Agent string to send to the HTTP server. Note that this option is ignored by some SSH servers, including OpenSSH. ![]() If the file doesn't exist, it is created. ( FTP/ SFTP) When used in an FTP upload, this will tell curl to append to the target file instead of overwriting it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |