Solved

Directory browsing with cgi

Posted on 1997-12-21
2
145 Views
Last Modified: 2013-12-25
I´m looking for a script to run on a NT server that can automatically display the contents of specified directories on a site - the same as on which it´s running. I´d also like the script to have an option to set a wildcard mask for filetypes, so that not all files are shown to the user browsing it. And of course, when a filename is clicked, the script should send the file.
So, a script that works like directorybrowsing, just looking better, with the filteroption, and that can be executed on a NT server.
Thanks in advance
0
Comment
Question by:lownoisE
2 Comments
 
LVL 2

Accepted Solution

by:
tpryor earned 140 total points
ID: 1831728
yes.  PERL is the scripting language you would use.
You can read the contents of any directory and filter out what you dont want. For example print all the .html files as links.

However for security reasons you wouldnt want your cgi scripts in the same dir as your html.

If you need the script written for you email me at webmaster@umeda.com with the specs.
0
 

Author Comment

by:lownoisE
ID: 1831729
Excellent help. That´s just what I needed!

0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question