curl-users
Re: curl and WebDAV access lists
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Jun 2008 16:50:24 +0200 (CEST)
Date: Mon, 9 Jun 2008 16:50:24 +0200 (CEST)
On Mon, 9 Jun 2008, Stephen Powers wrote:
> I'm using the curl library
Then consider using the curl-library mailing list instead!
> to successfully set ACLs over HTTP with a couple of parameters:
>
> CURLOPT_CUSTOMREQUEST="SETACL"
> CURLOPT_URL=http://xxx.../file1?acl=... <http://xxx.../file1?acl=... >
>
> does anyone know how to do this for WebDAV? I'm not finding any details on
> WebDAV ACLs or properties in the docs or mail lists. does the curl library
> support WebDAV?
libcurl supports HTTP fine, and webdav is on top of HTTP. All you need to do
is set the proper method, set of headers and XML in the body. Lots of people
have used libcurl for WebDAV just fine.
-- / daniel.haxx.seReceived on 2008-06-09