cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Anshu Mishra <anshu.mishra_at_gmail.com>
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 http://yourserver.com/baseurl/newdiruwannacreate

Thanks
Anshu

On Sun, Mar 30, 2008 at 7:53 PM, Anshu Mishra <anshu.mishra_at_gmail.com>
wrote:

> 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
1-201-936-9450
Received on 2008-03-31