This driving me Mad, Help !!!! - WeOnlyDo Discussion board

This driving me Mad, Help !!!! (General questions)

by Darren, Wednesday, May 18, 2005, 11:22 (7128 days ago)

Hi

I need to get a full directory listing for a directory, just the sub directories, not bothered about the files.

I dont know how many sub directories there are !

Right I have say 10 driectories on the ftp :

/a
/b
/c
/d

ect

I need to scan the full server but want to scan the directory's individually i.e

do a recursive scan of /a and all sub dirs and sub sub dirs (dont know what the sub dir levels are) and them pipe the contents to a text file.

Then do the same on all of the root dirs.

Been messing with this for days and insanity is very very near.

Please couls someone supply some code to do this (pretty Please)

Regards

darren

and


Complete thread: