| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
artificial file upload part with curl_formadd()
From: Mohun Biswas <m.biswas_at_cleartool.com>
Date: Tue, 19 Aug 2003 19:16:20 -0400
Hi,
I'm using libcurl (7.10.6) to do a multipart file upload and it works
Content-Disposition: form-data; name="foo";\ filename="/full/path/to/foo"
<data from a buffer, not from file "foo">
All the examples I can find show only how to do a "real" file upload.
res = curl_formadd(&(glb->hg_formpost), &(glb->hg_lastptr),
Can anyone give a sample curl_formadd() invocation for this?
Thanks,
-------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info