curl-library
Re: posting large amounts of data
From: Alan Wolfe <alan.wolfe_at_gmail.com>
Date: Thu, 26 Jun 2008 14:25:53 -0700
Date: Thu, 26 Jun 2008 14:25:53 -0700
Thanks a bunch Dan!
On 6/26/08, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> On Thu, Jun 26, 2008 at 11:05:34AM -0700, Alan Wolfe wrote:
> > Is there a way with libcurl to do something such as calculate the size of
> the
> > post data up front (to set the content length value manually) and then as
> curl
> > is sending the post data, to actually stream the post data from disk?
>
> You should be able to use CURLOPT_READFUNCTION and
> CURLOPT_POSTFIELDSIZE_LARGE
> to do this.
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address
> service
> Let webmasters know that your web site has moved
>
Received on 2008-06-26