Curl: Difference between revisions

246 bytes added ,  6 years ago
m
m (→‎One-Liners: nowiki)
Line 112:
 
=Switches=
{| class="wikitable"
Progress Meter -#
|-
Append in FTP/SFTP -a
!Switch !! Descripton/Usage
User-agent -A "Mozilla/4.0"
|-
Tells curl to figure out auth method --anyauth
| -# || Progress Meter
Cookie -b
|-
Cookie-jar(file curl should use to save all cookies) -c
| -a || Append in FTP/SFTP -a
 
|-
| -A "Mozilla/4.0" || User-agent
|-
| --anyauth || Tells curl to figure out auth method --anyauth
|-
| -b || Cookie ("NAME1=VALUE1; NAME2=VALUE2"). If no (=) then treated as filename<br />
This is only used as input. No cookies will be stored in the file. To store cookies, use -c or -D<br />
|-
| -c || Cookie-jar(file curl should use to save all cookies) -c
|}
 
{{UC}}