quick directory indexing question for webheads

bigd480

Golden Member
Jul 7, 2000
1,580
0
0
the FTP space my university provides doesn't show the index of the directory when you just go to the directory (http://server/directory/subdirectory/)

i know to get it to show the index you would have to change some web server option, but is there a way to write my index.html file so it shows a listing of the files in that directory with links to them?

i have a page there now that accomplishes this but it'd not dynamic (everytime I upload a new set of files I have to rewrite page)

anyone know how to fix this?
 

DAM

Diamond Member
Jan 10, 2000
6,102
1
76
perhaps you can just set a batch file to output the a index text file dir > index.txt





dam(just a thought)
 

mundania

Senior member
Jun 17, 2000
921
0
0
I'm sure ASP/PHP would be able to do that for you.. as well as CGI.
I don't know what the web server would allow you to do though.
ASP/PHP probably won't be that big of a help because the web server
probably doesn't support it. How about CGI though? You can write
a little script for it to list directory contents.

Other than that... heh, try getting the web administrator to allow
directory browsing I guess.
 

bigd480

Golden Member
Jul 7, 2000
1,580
0
0
i've never used CGI scripts, any good resouces to cut/paste from?

i've been lookin at ZDnet and devshed to no avail