cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3391118 ] file:// scheme doesn't support directory creation

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 19 Aug 2011 10:32:28 +0200

Bugs item #3391118, was opened at 2011-08-13 22:17
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3391118&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: bad behaviour
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: steelman (stlman)
Assigned to: Nobody/Anonymous (nobody)
Summary: file:// scheme doesn't support directory creation

Initial Comment:
Uploading to a subdirectory of a file:// location which fails because curl does not create missing directory hierarchy. This makes file:// differ from ftp:// which supports --ftp-create-dirs.

I miss this because I use git-ftp (https://github.com/resmo/git-ftp) which to deploy my website. git-ftp uses curl internally and I'd like to be able to push files to the local ~/public_html for testing.

curl 7.21.7 (x86_64-pc-linux-gnu) libcurl/7.21.7 GnuTLS/2.10.5 zlib/1.2.5 libidn/1.22
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz TLS-SRP

----------------------------------------------------------------------

Comment By: steelman (stlman)
Date: 2011-08-14 12:18

Message:
OK. I'll try if I can find some time.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2011-08-13 22:54

Message:
Yes, I'll admit that this is a missing feature but not that it is a bug.

We'll gladly accept patches that provide this feature for file:// URLs as
well. Welcome to join the curl-library mailing list for further discussions
and/or questions about that.

I intend to close this entry.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3391118&group_id=976
Received on 2011-08-19

These mail archives are generated by hypermail.

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

File upload with ASP.NET