cURL / Mailing Lists / curl-users / Single Mail

curl-users

setting filename="" when using -F take 2

From: Weedy <weedy2887_at_gmail.com>
Date: Wed, 13 Jun 2012 01:27:09 -0400

Resending since I got no reply last time...

I am having no luck using curl to POST. I have been able to completely
copy the FF/chrome/whatever request except for filename="".

firefox
-----------------------------19478373523277830581955243261
 Content-Disposition: form-data; name="file"; filename=""
 Content-Type: application/octet-stream

-----------------------------19478373523277830581955243261

curl
032d: ------------------------------e053dca3715a
0359: Content-Disposition: form-data; name="file"
0386: Content-Type: application/octet-stream
03ae:
03b0:
03b2: ------------------------------e053dca3715a--

What am I missing? Neither -F
file=""\;filename=""\;type=application/octet-stream or
'file="";filename="";type=application/octet-stream' work.

0359: Content-Disposition: form-data; name="file"
0386: Content-Type: application/octet-stream
03ae:
03b0: ;filename=

0359: Content-Disposition: form-data; name="file"
0386: Content-Type: application/octet-stream
03ae:
03b0: "";filename=""

Thank you for your time.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-13