Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display a web folders contents

Status
Not open for further replies.

MSW

IS-IT--Management
Jan 9, 2002
48
US
Is there a simple way to setup a webpage that displays a folders contents which by the way will contain several pdf's or text files that I would like the user to click on to view.

Thanks for your help...Scott
 
If you are wanting it to be done via http: as a folder content list, then your webserver must allow directory browsing. This is done in IIS.

I am assuming you are wanting it to be dynamic, when new content is added then it automatically updates. If not you can just create a page with links to the files.

VBscript on a .ASP page would allow you to access the FSO file system object (as long as your ISP supports this) and retrieve the names and sizes of the files and list them on a webpage with links to them, but this advanced.
 
this same question was answered about 8 questions ago.
heres the answer again anyways.

if you can run perl scripts then give dirwrap ago


DirWrap is a CGI script written in PERL that takes the contents of a specified directory and wraps it in an html template of your choice. It was written primarily to provide a means for outputting directory contents on web servers that are configured to disallow directory listings via URL but it can be used with any web server that allows CGI scripts to be run.

Aaron Taylor
John Mutch Electronics
 
Thanks for your advice, however I will tell you I've been having a tough time getting dirwrap menu script to work on my Windows NT 4.0 Server running IIS. I've been working with their support desk via email for 2 weeks now but so far I can't get the script to run on my system. I installed ActiveState Perl and verified that I have installed that correctly but to this point I can't get the dirwrap script to run, so if you have any experience with this dirwrap in a windows environment I sure could use your input because the techs @dmag are not all that familiar with their script on a windows box..

Thanks..Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top