curl-library
Re: http put......
Date: Mon, 6 Apr 2009 11:50:19 +0530
Can I use
CURLOPT_RANGE and CURLOPT_RESUME_FROM in the same code........
I have used it to indicate the file offset and specify the range........
But curl_easy_perform shows error.........
Error is that ould only read 4194304 bytes from the input
where 4194304 is my chunk size.......
On 4/6/09, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> On Mon, Apr 06, 2009 at 09:25:48AM +0530, neha bhagat wrote:
> > Thanx for your immediate response.......
> >
> > I have added CURLOPT_INFILESIZE_LARGE,but it doesnot help me out.......
> >
> > I need to send file in 4MB chunks......
> >
> > But here curl library overwrites the file instead of appending.......
> >
> > Is there any append function for http upload as in case of ftp ie
> > CURLOPT_FTPAPPEND
>
>
> What headers is libcurl sending in this case? If libcurl is sending
> the right ones, then it's up the server to interpret them. If it doesn't,
> there's not much you can do but use a different server.
>
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address
> service
> Let webmasters know that your web site has moved
>
Received on 2009-04-06