aboutsummaryrefslogtreecommitdiff
path: root/docs/MANUAL
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-07-30 23:49:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-07-30 23:49:20 +0000
commit987b67bd2e827248958a7a6dd6cc3ad0fb484d5c (patch)
tree26cce003536fcaaacc230a08267b98400df59777 /docs/MANUAL
parentf4d56802f9648f8c6b0552073890f3548cc01031 (diff)
Added IPv6 section
Diffstat (limited to 'docs/MANUAL')
-rw-r--r--docs/MANUAL23
1 files changed, 21 insertions, 2 deletions
diff --git a/docs/MANUAL b/docs/MANUAL
index dba224d91..30a932272 100644
--- a/docs/MANUAL
+++ b/docs/MANUAL
@@ -496,7 +496,7 @@ CONFIG FILE
with = or :. Comments can be used within the file. If the first letter on a
line is a '#'-letter the rest of the line is treated as a comment.
- If you want the parameter to contain spaces, you must inclose the entire
+ If you want the parameter to contain spaces, you must enclose the entire
parameter within double quotes ("). Within those quotes, you specify a
quote as \".
@@ -567,7 +567,7 @@ FTP and PATH NAMES
FTP and firewalls
The FTP protocol requires one of the involved parties to open a second
- connction as soon as data is about to get transfered. There are two ways to
+ connection as soon as data is about to get transfered. There are two ways to
do this.
The default way for curl is to issue the PASV command which causes the
@@ -886,6 +886,25 @@ MULTIPLE TRANSFERS WITH A SINGLE COMMAND LINE
curl -T local1 ftp://ftp.com/moo.exe -T local2 ftp://ftp.com/moo2.txt
+IPv6
+
+ curl will connect to a server with IPv6 when a host lookup returns an IPv6
+ address and fall back to IPv4 if the connection fails. The --ipv4 and --ipv6
+ options can specify which address to use when both are available. IPv6
+ addresses can also be specified directly in URLs using the syntax:
+
+ http://[2001:1890:1112:1::20]/overview.html
+
+ When this style is used, the -g option must be given to stop curl from
+ interpreting the square brackets as special globbing characters. Link local
+ and site local addresses including a scope identifier, such as fe80::1234%1,
+ may also be used, but the scope portion must be numeric and the percent
+ character must be URL escaped. The previous example in an SFTP URL might
+ look like:
+
+ sftp://[fe80::1234%251]/
+
+
MAILING LISTS
For your convenience, we have several open mailing lists to discuss curl,