now -F supports 'filename=blabla' for parts that upload a file, to set the
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Mar 2002 15:20:56 +0000 (15:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Mar 2002 15:20:56 +0000 (15:20 +0000)
commitc8d2ad2513e3d564c53692ed14202bfa6538fc99
tree730b1dfec6daa11cf349a00ca546c2d8ffd8b428
parent9f374c20507940862601c3dbad3250a44541a85e
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.
src/main.c