curl-library
Re: Mallocs Internal Implementation Clarifications
Date: Tue, 06 Jul 2004 13:22:53 +0100
Hi,
If you meant when creating a form, libcurl can be made to either take a
pointer to your own memory buffer that you have read the file into or it
can be made to get it's self a copy of the buffer, or you can give it a
file name and it will read the file in and send it
see the comments next to the following on the page below
CURLFORM_BUFFER
CURLFORM_BUFFERPTR
CURLFORM_FILECONTENT
see
http://curl.haxx.se/libcurl/c/curl_formadd.html
for a better description
Andy
On Tue, 2004-07-06 at 12:33, Sriram Venkat wrote:
> Hi,
>
> I want to use libcurl for data transfers,
>
> I have a query:
> If i want to transfer 4MB file to a remote machine.
>
> Will the Lib code do a Malloc of 4MB and then transfer the data.
>
>
> How is it done ?
>
>
> Please Clarify.
>
>
> Regards,
> Ram
>
>
> ______________________________________________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
-- andy_at_trogs.org.uk I'd like to meet the guy who invented beer and see what he's working on nowReceived on 2004-07-06