From e26ee09586a469eb7f0fd36f0cfb8f3a1b89d8d8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Jan 2001 10:26:37 +0000 Subject: 4.2 and 4.3 were updated --- docs/FAQ | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'docs/FAQ') diff --git a/docs/FAQ b/docs/FAQ index 536aa85bf..e173fbf26 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -1,4 +1,4 @@ -Updated: January 11, 2001 (http://curl.haxx.se/docs/faq.shtml) +Updated: January 15, 2001 (http://curl.haxx.se/docs/faq.shtml) _ _ ____ _ ___| | | | _ \| | / __| | | | |_) | | @@ -33,7 +33,7 @@ FAQ 4. Running Problems 4.1 Problems connecting to SSL servers. - 4.2 Why do I get problems when I use & in the URL? + 4.2 Why do I get problems when I use & or % in the URL? 4.3 How can I use {, }, [ or ] to specify multiple URLs? 4.4 Why do I get downloaded data even though the web page doesn't exist? 4.5 Why do I get return code XXX from a HTTP server? @@ -298,7 +298,7 @@ FAQ I have also seen examples where the remote server didn't like the SSLv2 request and instead you had to force curl to use SSLv3 with -3/--sslv3. - 4.2. Why do I get problems when I use & in the URL? + 4.2. Why do I get problems when I use & or % in the URL? In general unix shells, the & letter is treated special and when used it runs the specified command in the background. To safely send the & as a part @@ -309,6 +309,9 @@ FAQ curl 'http://www.altavista.com/cgi-bin/query?text=yes&q=curl' + In win32, the standard DOS shell treats the %-letter specially and you may + need to quote the string properly when % is used in it. + 4.3. How can I use {, }, [ or ] to specify multiple URLs? Because those letters have a special meaning to the shell, and to be used in @@ -318,6 +321,12 @@ FAQ curl '{curl,www}.haxx.se' + To be able to use those letters as actual parts of the URL (without using + them for the curl URL "globbing" system), use the -g/--globoff option + (included in curl 7.6 and later): + + curl -g 'www.site.com/weirdname[].html' + 4.4. Why do I get downloaded data even though the web page doesn't exist? Curl asks remote servers for the page you specify. If the page doesn't exist -- cgit v1.2.3