Skip to content
Commit c8d2ad25 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

now -F supports 'filename=blabla' for parts that upload a file, to set the

filename field of that part. A typical example line could look like:

-F 'name=@filename;filename=/dev/null'

This can be combined with type= too, in a manner similar to:

-F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar"

Enjoy.
parent 9f374c20
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment