added some fresh new blurb

This commit is contained in:
Daniel Stenberg 2006-09-05 21:17:04 +00:00
parent 874a4ef8c7
commit 52560142bf
1 changed files with 31 additions and 0 deletions

View File

@ -31,6 +31,15 @@ SIMPLE USAGE
curl ftp://cool.haxx.se/ http://www.weirdserver.com:8000/ curl ftp://cool.haxx.se/ http://www.weirdserver.com:8000/
Get a file off an FTPS server:
curl ftps://files.are.secure.com/secrets.txt
or use the more appropriate FTPS way to get the same file:
curl --ftp-ssl ftp://files.are.secure.com/secrets.txt
DOWNLOAD TO A FILE DOWNLOAD TO A FILE
Get a web page and store in a local file: Get a web page and store in a local file:
@ -64,6 +73,10 @@ USING PASSWORDS
It is just like for FTP, but you may also want to specify and use It is just like for FTP, but you may also want to specify and use
SSL-specific options for certificates etc. SSL-specific options for certificates etc.
Note that using FTPS:// as prefix is the "implicit" way as described in the
standards while the recommended "explicit" way is done by using FTP:// and
the --ftp-ssl option.
HTTP HTTP
The HTTP URL doesn't support user and password in the URL string. Curl The HTTP URL doesn't support user and password in the URL string. Curl
@ -105,6 +118,8 @@ PROXY
curl -U user:passwd -x my-proxy:888 http://www.get.this/ curl -U user:passwd -x my-proxy:888 http://www.get.this/
curl also supports SOCKS4 and SOCKS5 proxies with --socks4 and --socks5.
See also the environment variables Curl support that offer further proxy See also the environment variables Curl support that offer further proxy
control. control.
@ -846,6 +861,22 @@ PERSISTENT CONNECTIONS
transfers faster. If you use a http proxy for file transfers, practically transfers faster. If you use a http proxy for file transfers, practically
all transfers will be persistent. all transfers will be persistent.
MULTIPLE TRANSFERS WITH A SINGLE COMMAND LINE
As is mentioned above, you can download multiple files with one command line
by simply adding more URLs. If you want those to get saved to a local file
instead of just printed to stdout, you need to add one save option for each
URL you specify. Note that this also goes for the -O option.
For example: get two files and use -O for the first and a custom file
name for the second:
curl -O http://url.com/file.txt ftp://ftp.com/moo.exe -o moo.jpg
You can also upload multiple files in a similar fashion:
curl -T local1 ftp://ftp.com/moo.exe -T local2 ftp://ftp.com/moo2.txt
MAILING LISTS MAILING LISTS
For your convenience, we have several open mailing lists to discuss curl, For your convenience, we have several open mailing lists to discuss curl,