Re: recursive creating of directories

calmar <[email protected]> Sat, 17 Dec 2005 22:45:10 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Sat, Dec 17, 2005 at 01:49:15PM +0100, Bram Moolenaar wrote:

Hi Bram,

> > ftp can't access the not existing aaa folder, I think.
> 
> OK, it's not too difficult to try creating the directory recursively.  I
> 
> Please try the patch below with your ftp server.

yeah, that seems to work very nicely!

that's the output I get, just in case:

Aap: Uploading ['ddd/aaa/uuu/hello.txt'] to ftp://dd:[email protected]/html/calmar/./ddd/aaa/uuu/hello.txt
Aap: Uploading "/var/www/calmar/ddd/aaa/uuu/hello.txt" to "ftp://dd:[email protected]/html/calmar/./ddd/aaa/uuu/hello.txt"
Aap: Directory "html/calmar/./ddd/aaa/uuu" does not appear to exist, creating it...
Aap: Directory "html/calmar/./ddd/aaa" does not appear to exist, creating it...
Aap: Directory "html/calmar/./ddd" does not appear to exist, creating it...
Aap: Directory created, attempt uploading again...
Aap: Uploaded "ddd/aaa/uuu/hello.txt" to "ftp://dd:[email protected]/html/calmar/./ddd/aaa/uuu/hello.txt"

Cheers,
marco

-- 
  calmar

          (o_  It rocks: LINUX + Command-Line-Interface
          //\
          V_/_                     http://www.calmar.ws


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click