aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-02 13:32:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-02 13:32:01 +0000
commit29470107cdf1d16c97ae8cb96aa720b31c8b407d (patch)
tree766d1bbcff9b499268842b40fa336f038107dacb /docs
parentef34ad2968c2ad5ea8b9aafa175671e12caf2666 (diff)
Added many specific questions
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ87
1 files changed, 87 insertions, 0 deletions
diff --git a/docs/FAQ b/docs/FAQ
index fbdff3eff..579c438a5 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -117,3 +117,90 @@ FAQ
configure. Make sure that you remove the config.cache file before you
rerun configure with the new flags.
+9. Why do I get problems when I use & 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 of a URL, you should qoute the entire URL by using single (') or
+ double (") quotes round it.
+
+10. Why do I get problems when I use {, }, [ or ] to use multiple URLs?
+
+ Because those letters have a special meaning to the shell, and to be used
+ in a URL specified to curl you must quote them.
+
+11. Where can I find a copy of LIBEAY32.DLL so I can use the SSL version?
+
+ Curl uses OpenSSL to do the SSL stuff. The LIBEAY32.DLL is what curl needs
+ on a windows machine to do https://. Check out the curl web page to find
+ accurate and up-to-date pointers to recent OpenSSL DDLs and other binary
+ packages.
+
+12. 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 at the server, the HTTP protocol defines how the server should
+ respond and that means that headers and a "page" will be returned. That's
+ simply how HTTP works.
+
+13. Why do I get "HTTP/1.1 403 Forbidden" from a http server?
+
+ RFC2616 clearly explains this return code:
+
+ 10.4.4 403 Forbidden
+
+ The server understood the request, but is refusing to fulfill it.
+ Authorization will not help and the request SHOULD NOT be repeated.
+ If the request method was not HEAD and the server wishes to make
+ public why the request has not been fulfilled, it SHOULD describe the
+ reason for the refusal in the entity. If the server does not wish to
+ make this information available to the client, the status code 404
+ (Not Found) can be used instead.
+
+14. How can I disable the Pragma: nocache header?
+
+ You can change all internally generated headers by adding a replacement
+ with the -H/--header option. By adding a header with empty contents you
+ safelt disables the headers. Use -H "Pragma:" to disable that specific
+ header.
+
+15. Can you please tell me what an error code 142 means?
+
+ All error codes that are larger than the highest documented error code
+ means that curl has existed due to a timeout. There is currentl no nice way
+ for curl to abort from such a condition and that's why it gets this
+ undocumented error. This is planned to change in a future release.
+
+16. How do I keep usernames and passwords secret in Curl command lines?
+
+ I see this problem in two parts:
+
+ The first part is to avoid having clear-text passwords in the command line
+ so that they appear in 'ps' outputs and similar. That is easily avoided by
+ using the "-K -" contruct that causes curl to read parameters from stdin to
+ which you can pass the secret info.
+
+ To keep the passwords in your account secret from the rest of the world is
+ not a task that curl addresses. You could of course encrypt them somehow to
+ at least hide them from being read by human eyes, but that is not what
+ anyone would call security.
+
+17. Does curl support javascript/ASP/VBscript/XML/XHTML or HTML version Y?
+
+ To curl, all contents are alike. It doesn't matter how the page was
+ generated. It may be ASP, PHP, perl, shell-script, SSI or plain
+ HTML-files. There's no difference to curl and it doesn't even know what
+ kind of language that generated the page.
+
+ Javascript is slightly different since that is code embedded in the HTML
+ that is sent for the client to interpret and curl has no javascript
+ interpreter.
+
+18. Does cURL support Socks (RFC 1928) ?
+
+ No. Nobody has wanted it that badly yet. I would appriciate patches that
+ brings this functionality.
+
+19. Can I use curl to delete/rename a file through FTP?
+
+ Yes. You specify custom ftp commands with -Q/--quote.