Solved

Directory browsing with cgi

Posted on 1997-12-21
2
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

751 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