cURL / Mailing Lists / curl-library / Single Mail


Re: Cannot get it work with 'CURLFORM_FILECONTENT'

From: Ryan <>
Date: Thu, 1 Aug 2013 13:33:00 +0800 (CST)

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);
>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
> )
> /

List admin:
Received on 2013-08-01