curl-users
setting filename="" when using -F
Date: Sat, 02 Jun 2012 21:46:25 -0400
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-03