cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Creating a directory on a WebDAV share

From: Jonathan Watt <jwatt_at_jwatt.org>
Date: Fri, 16 Jun 2006 16:00:25 +0200

Daniel Stenberg wrote:
> On Fri, 16 Jun 2006, Jonathan Watt wrote:
>
>> Or does anyone know how to get curl to use the MKCOL method instead of
>> GET/POST?
>
> curl -d "foo" -X MKCOL [URL]

I had to remove the -d flag, but then it worked perfectly. Many thanks.

Jonathan
Received on 2006-06-16