Re: recursive creating of directories

Bram Moolenaar <[email protected]> Sun, 18 Dec 2005 14:35:19 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Calmar wrote:

> > > ftp can't access the not existing aaa folder, I think.
> >=20
> > OK, it's not too difficult to try creating the directory recursively.=
  I
> >=20
> > Please try the patch below with your ftp server.
>=20
> yeah, that seems to work very nicely!
>=20
> that's the output I get, just in case:
>=20
> 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:dd@=
server.org/html/calmar/./ddd/aaa/uuu/hello.txt"
> Aap: Directory "html/calmar/./ddd/aaa/uuu" does not appear to exist, cr=
eating it...
> Aap: Directory "html/calmar/./ddd/aaa" does not appear to exist, creati=
ng it...
> Aap: Directory "html/calmar/./ddd" does not appear to exist, creating i=
t...
> Aap: Directory created, attempt uploading again...
> Aap: Uploaded "ddd/aaa/uuu/hello.txt" to "ftp://dd:[email protected]/html/c=
almar/./ddd/aaa/uuu/hello.txt"

Looks good.  Thanks for testing this.

--=20
Every exit is an entrance into something else.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \=
\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ =
\\\
\\\        download, build and distribute -- http://www.A-A-P.org        =
///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         /=
//


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
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=3D7637&alloc_id=3D16865&op=3Dclick