Curl: Difference between revisions
template added
(Page created) |
(template added) |
||
Line 1:
[[Category:Linux]]
{{UC}}▼
__TOC__
<br />
DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP.
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
Multiple URLs
Usernames and Passwords support
Line 56 ⟶ 59:
FTP Connection re-use
GOPHER
</div>
=One-Liners=
Save the output of the URL to a file curl -o website https://domain.com
Download files with cURL curl -O https://domain.com/file.zip
Download files securely via SSH curl -u user sftp://server.domain.com/path/to/file
Get HTTP header information curl -I http://domain.com
Access an FTP server curl ftp://ftp.domain.com --user username:password
Download a file via FTP curl ftp://ftp.domain.com/file.zip --user username:password
Upload a file to the FTP server curl -T file.zip ftp://ftp.domain.com/ --user username:password
Line 100 ⟶ 104:
Cookie -b
Cookie-jar(file curl should use to save all cookies) -c
▲{{UC}}
<br />
;References
<references/>
<br />
<br />
<br />
{{DISQUS}}
|