cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: How can i use curl_formadd or any other function to http post a file without inserting "boundary" tags in html headers?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Sep 2007 22:40:41 +0200 (CEST)
On Tue, 18 Sep 2007, shivpratap wrote:
> I want to post a xml file so i am wondering if i can use CURLOPT_POSTFIELDS
Yes but you could easily read a file into memory, right?
> I used curl_formadd that adds boundary tags so curl_formadd is out of
Yes, multipart formposts add boundaries.
> Later on i used curl_easy_setopt(CURLOPT_READDATA,file_ppinter); but it
Sorry, I don't understand. You can use the callback approach if you want, see
> This e-mail may contain privileged and confidential information which is the
I hope you give your IT department a hard time for appending such total crap
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-09-18
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info