mirror of
https://github.com/curl/curl.git
synced 2025-09-29 07:26:48 +03:00
curl.1: "a file", not an
This commit is contained in:
parent
0a2edfc348
commit
c539b83138
|
@ -526,8 +526,8 @@ or
|
||||||
|
|
||||||
\fBcurl\fP -F "name=daniel;type=text/foo" url.com
|
\fBcurl\fP -F "name=daniel;type=text/foo" url.com
|
||||||
|
|
||||||
You can also explicitly change the name field of an file upload part by
|
You can also explicitly change the name field of a file upload part by setting
|
||||||
setting filename=, like this:
|
filename=, like this:
|
||||||
|
|
||||||
\fBcurl\fP -F "file=@localfile;filename=nameinpost" url.com
|
\fBcurl\fP -F "file=@localfile;filename=nameinpost" url.com
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user