Thank you for kindly help, Daniel

I confirm it by using the workround of "CURLFORM_COPYNAME" and capture the data 
via wireshark. With the workround, the file conent goes in the POST body.  So 
it should be caused by the bug fixed.
>On Tue, 30 Jul 2013, Ryan wrote:
>
>> curl_formadd(&post, &last, CURLFORM_PTRNAME, "pic", CURLFORM_FILECONTENT, 
>> picture_file_name, CURLFORM_END);
>
>Amazing!
>
>curl_formadd was added to libcurl in on August 21st, 2001.
>
>4354 days later(!) I pushed commit 41fb6443ceeda which fixes the problem you 
>mention above, exactly one week before you report it (again)...
>
>(It was first reported by Byrial Jensen in 
>http://curl.haxx.se/mail/lib-2013-07/0258.html )
>
>
>  / daniel.haxx.se
>------------------------------

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to