cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP Upload and destination path : problem and suggestion

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Aug 2003 12:58:56 +0200 (CEST)

On Wed, 13 Aug 2003 _curl_at_zeug.org wrote:

> - would it be possible to create a sort of "--create-target-dir" option
> which would try to mkdir non-existant dirs in the target path ?

The upcoming 7.10.7 release has a new option named --ftp-create-dirs that does
almost exactly what you're asking for... (it makes curl first try to change to
the directory and if that fails it tries to create the directory and then
change to it).

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-14