summaryrefslogtreecommitdiff
path: root/docs/MANUAL
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-05 21:17:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-05 21:17:04 +0000
commit52560142bf0a75943323fd5efb2ac6b188066d5f (patch)
tree777c82bc0b36eb42ffdcba387fa0438699ec517f /docs/MANUAL
parent874a4ef8c776b59286b957e7fc55aec9008e2874 (diff)
downloadcurl-52560142bf0a75943323fd5efb2ac6b188066d5f.tar.gz
added some fresh new blurb
Diffstat (limited to 'docs/MANUAL')
-rw-r--r--docs/MANUAL31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/MANUAL b/docs/MANUAL
index f849110e1..221464ed9 100644
--- a/docs/MANUAL
+++ b/docs/MANUAL
@@ -31,6 +31,15 @@ SIMPLE USAGE
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
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
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
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 also supports SOCKS4 and SOCKS5 proxies with --socks4 and --socks5.
+
See also the environment variables Curl support that offer further proxy
control.
@@ -846,6 +861,22 @@ PERSISTENT CONNECTIONS
transfers faster. If you use a http proxy for file transfers, practically
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
For your convenience, we have several open mailing lists to discuss curl,