Re: recursive creating of directories

calmar <[email protected]> Mon, 19 Dec 2005 04:39:39 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Sun, Dec 18, 2005 at 02:35:19PM +0100, Bram Moolenaar wrote:

> Calmar wrote:
> 
> > > > 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"
> 
> Looks good.

Whenever you want to test something yourself with a ftp server
not capable of recursive mkdir or however:

ftp://n4a403f5:[email protected]

Feel free to use it, even so there does not seem to be a need,
since app handles is nicely with that patch.

Cheers
marco

PS: for half a year that link should work, then I probably switch to a
'local' hoster.


-- 
  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