Page 1 of 1

Walking a heirarchy of text files

Posted: Fri Jun 09, 2000 9:49 am
by Thunderstone


I have a heirarchy of text files on my web server that I would like to
walk. Looks something like this:

http://www.myserver.com/apps/text_files
http://www.myserver.com/apps/text_files/a-f/
http://www.myserver.com/apps/text_files/a-f/important/
http://www.myserver.com/apps/text_files/g-z/

I would like to walk the files from text_files on down. These files are
mixed text and HTML, and they don't necessarily reference one another.

Is there a way to make gw walk all the files from text_files on down
without specifying each and every file?

Thanks,
--
Mark Miller
mark@chalkboardcom.com
Chalkboard Communications (206) 459-5577
http://www.chalkboardcom.com



Walking a heirarchy of text files

Posted: Fri Jun 09, 2000 10:16 am
by Thunderstone


Turn on directory indexing in your webserver if it's not already on.
Then when you access http://www.myserver.com/apps/text_files/
it will automatically generate a list of files and directories
under it that gw will then walk.