curl
Created: September 16, 2020
| Description | Flag |
|---|---|
| Save the result of a curl using a new filename. | -o FILENAME |
| Save the result of a curl using the original filename. | -O |
| Resume a disconnected download. | -C - -O |
| Return HTTP Headers. | -I |
| Use HTTP3. | –-http3 |
| Follow redirects. | -L |
| Change the user-agent (e.g. browser) | -A "USER_AGENT" |
| Limit the transfer rate. | --limit-rate INT{k|m|g} |
| Lists files in an FTP directory. | -u FTP_USERNAME:FTP_PASSWORD ftp://ftp.example.com/ |
| Download a file via FTP. | -u FTP_USERNAME:FTP_PASSWORD ftp://ftp.example.com/FILE.EXT |
| Upload a file via FTP. | -T FILE.EXT -u FTP_USERNAME:FTP_PASSWORD ftp://ftp.example.com/ |
| Send cookie. | -b "KEY=VALUE" |
| Use a proxy without auth. | -x ADDRESS:PORT http://example.com |
| If the proxy requires auth, add: | –U USERNAME: PASSWORD |