cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can you combine curl_formadd sections?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 27 Mar 2011 16:46:18 +0200 (CEST)

On Sun, 27 Mar 2011, richardcavell_at_mail.com wrote:

>> So what exactly is the result you want? What does "combine" mean in this
>> context?
>
> I mean, can I add both items to the form using one function call, or am I
> compelled to call it separately for each pair?

curl_formadd() adds a single "part" to the multipart post per invoke. If you
want two parts, you have to do two calls.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-27