cURL / Mailing Lists / curl-library / Single Mail


Re: Mallocs Internal Implementation Clarifications

From: Andy Hobbs <>
Date: Tue, 06 Jul 2004 13:22:53 +0100


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


for a better description


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!

I'd like to meet the guy who invented beer and see what he's working on
Received on 2004-07-06