aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-15 09:58:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-15 09:58:27 +0000
commit183a9c6244fc348d2f9f3190d9189f169f6e7fc9 (patch)
treece0b7cdb8f63b6cc48463949aa50eba754a0bbba
parent1f2294d585bc974fa42cb79caa7fd28128554b7a (diff)
extended the -F section
-rw-r--r--docs/curl.110
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 4b6ca4ffd..1a1e811d4 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -262,12 +262,18 @@ Example, to send your password file to the server, where
\&'password' is the name of the form-field to which /etc/passwd will be the
input:
-.B curl
--F password=@/etc/passwd www.mypasswords.com
+\fBcurl\fP -F password=@/etc/passwd www.mypasswords.com
To read the file's content from stdin insted of a file, use - where the file
name should've been. This goes for both @ and < constructs.
+You can also tell curl what Content-Type to use for the file upload part, by
+using 'type=', in a manner similar to:
+
+\fBcurl\fP -F "web=@index.html;type=text/html" url.com
+
+See further examples and details in the MANUAL.
+
This option can be used multiple times.
.IP "-g/--globoff"
This option switches off the "URL globbing parser". When you set this option,