mention filename= for the -F
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Feb 2005 07:47:32 +0000 (07:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Feb 2005 07:47:32 +0000 (07:47 +0000)
docs/curl.1

index 515356f..3b6fb3c 100644 (file)
@@ -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.