cURL / Mailing Lists / curl-library / Single Mail


Re: http upload.....

From: Jamie Lokier <>
Date: Thu, 30 Apr 2009 03:42:45 +0100

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