cURL / Mailing Lists / curl-users / Single Mail


Re: is it possible to create directory structure during file upload (http)

From: Anshu Mishra <>
Date: Mon, 31 Mar 2008 17:07:05 -0400

Sorry for posting twice by mistake...

As my server was using "webdav". So, without ftp, the curl helped me to
create the directory structure.
Using something like :-

curl -u user:pwd -X MKCOL


On Sun, Mar 30, 2008 at 7:53 PM, Anshu Mishra <>

> Hi,
> Is it possible to create the directory structure on the server , while
> uploading the
> files using http?
> I tried uploading the files using http using the username/pwd
> combination as expected by the server.
> If the directory exists, it is able to upload while, if it doesn't
> exist, any try of uploading results in
> 403 (forbidden ) error.
> Is is possible to do somehow without ftp access?
> Thanks

Anshu Kumar Mishra
Received on 2008-03-31