aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-17 07:47:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-17 07:47:32 +0000
commit85baebd0d4369a41a5ccac6e456a07b7f5d08c2a (patch)
tree9fcb3b8c3eba0990042ff60de56d1c162bbacfba
parentac022b2e30f42f860f365348ee569f87d0fbe1cf (diff)
mention filename= for the -F
-rw-r--r--docs/curl.15
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 515356f6d..3b6fb3ce1 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -380,6 +380,11 @@ or
\fBcurl\fP -F "name=daniel;type=text/foo" url.com
+You can also explicitly change the name field of an file upload part by
+setting filename=, like this:
+
+\fBcurl\fP -F "file=@localfile;filename=nameinpost" url.com
+
See further examples and details in the MANUAL.
This option can be used multiple times.