diff --git a/docs/curl.1 b/docs/curl.1 index 515356f6dc15a55b23f2b118abd275cc94a3ff5b..3b6fb3ce11ba832cc741a01e48bb09f1ddbb587a 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.