summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-11-25 19:44:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-11-25 19:44:49 +0100
commit68e2c9a85faca7708fdb0a09c7c3278fea75f98b (patch)
tree77870d888355ff671f992e02a82402d6c1425345
parent616a0099d14887b933c3b5bc5c253e6b8b1139f5 (diff)
downloadcurl-68e2c9a85faca7708fdb0a09c7c3278fea75f98b.tar.gz
FAQ: clarify the 3.4 section
You can do custom commands to FTP without sending anything by using the CURLOPT_NOBODY, which -I sets.
-rw-r--r--docs/FAQ7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/FAQ b/docs/FAQ
index a06d16d54..130111108 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -481,9 +481,10 @@ FAQ
You can tell curl to perform optional commands both before and/or after a
file transfer. Study the -Q/--quote option.
- Since curl is used for file transfers, you don't use curl to just perform
- FTP commands without transferring anything. Therefore you must always specify
- a URL to transfer to/from even when doing custom FTP commands.
+ Since curl is used for file transfers, you don't normally use curl to
+ perform FTP commands without transferring anything. Therefore you must
+ always specify a URL to transfer to/from even when doing custom FTP
+ commands, or use -I which implies the "no body" option sent to libcurl.
3.5 How can I disable the Accept: */* header?