mirror of
https://github.com/curl/curl.git
synced 2026-07-26 21:37:16 +03:00
parent
d84fb30681
commit
04ce9e853c
1 changed files with 2 additions and 2 deletions
|
|
@ -59,11 +59,11 @@ filename=, like this:
|
|||
|
||||
If filename/path contains ',' or ';', it must be quoted by double-quotes like:
|
||||
|
||||
curl -F "file=@\\"localfile\\";filename=\\"nameinpost\\"" example.com
|
||||
curl -F "file=@\\"local,file\\";filename=\\"name;in;post\\"" example.com
|
||||
|
||||
or
|
||||
|
||||
curl -F 'file=@"localfile";filename="nameinpost"' example.com
|
||||
curl -F 'file=@"local,file";filename="name;in;post"' example.com
|
||||
|
||||
Note that if a filename/path is quoted by double-quotes, any double-quote
|
||||
or backslash within the filename must be escaped by backslash.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue