Re: recursive creating of directories

calmar <[email protected]> Fri, 16 Dec 2005 22:42:10 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Fri, Dec 16, 2005 at 04:27:46PM +0100, Bram Moolenaar wrote:

> That's right, when using ftp Aap only creates one level of directories.
> The "mkdir" command of ftp doesn't have a flag to create directories
> recursively.  I haven't found a great need to handle it inside Aap.
> Would need to detect that a "mkdir" fails because a directory is
> missing.  Can you see what error message the ftp server gives?  Hmm,
> this might differ between various ftp servers...
> 

mkdir: Access failed: 550 aaa/ddd: No such file or directory

ftp can't access the not existing aaa folder, I think.

Cheers and thanks
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