From 987b67bd2e827248958a7a6dd6cc3ad0fb484d5c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 30 Jul 2008 23:49:20 +0000 Subject: [PATCH] Added IPv6 section --- docs/MANUAL | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/MANUAL b/docs/MANUAL index dba224d..30a9322 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, -- 2.7.4