cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http upload.....

From: neha bhagat <nehabhagat.4_at_gmail.com>
Date: Thu, 30 Apr 2009 09:20:52 +0530

Hello ,

I hve tried using CURLOPT_RANGE option .......but it doesnt work???????

Is tat wat you mean by Content -Range......
Since I am new to curl library I may hve interpreted in the wrong
sense.......

On 4/30/09, Jamie Lokier <jamie_at_shareable.org> wrote:
>
> Daniel Stenberg wrote:
> > On Wed, 29 Apr 2009, neha bhagat wrote:
> >
> > >Hs curl library the provision for http append feature like
> CURLOPT_APPEND
> > >in case of ftp......... I need to append a file using http
> upload.........
> >
> > There's no such thing in HTTP. It can only be done using POST if the
> server
> > offers some means for it.
>
>
> It might be possible with PUT using a Content-Range: header, after
> doing HEAD to find the current size. I'm not sure if that works but
> it seems likely on WebDAV servers.
>
>
> -- Jamie
>
Received on 2009-04-30