cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 31 Mar 2008 14:23:49 -0700

> On Sun, Mar 30, 2008 at 7:53 PM, Anshu Mishra <anshu.mishra_at_gmail.com> wrote:
> 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?

curl supports the --ftp-create-dirs option to do this for FTP and SFTP, but
not for HTTP. It's probably a reasonable extension if you wanted to
code that support in.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-31

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET