curl-library
Re: WebDAV Support in curl/libcurl
From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 11 Jun 2007 10:45:11 -0600
Date: Mon, 11 Jun 2007 10:45:11 -0600
On Jun 11, 2007, at 10:27 AM, Tim Tassonis wrote:
> I just wanted to ask whether libcurl supports the webdav protocol
> on a level above setting the corresponding headers and request
> methods "by hand".
>
> Things like:
>
> - Listing a directory, as with ftp
> - Storing a file
You can store files using CURLOPT_UPLOAD. To list a directory, OTOH,
you're going to need to do that manually using CURLOPT_CUSTOMREQUEST,
a write function, and an XML parser.
Nick Zitzmann
<http://www.chronosnet.com/>
Received on 2007-06-11