Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
listing files? jake58
I am looking for a way to list thousands of files I have in a directory on my web server (windows/apache) for downloading.
Currently I have coded some of them for HTML. Problem is I need to add files every day and do not want to go to the time consuming effort to code them all.
I am wanting just a basic page that lists the filename and extention with a link to download. It would be nice if there was some html code to auto generate this without going to asp net.
At the very least a program I could run on the directory to auto generate the html code.
If anyone has any suggestions would be appreciated.
Most web servers do this automatically if you simply delete the index.html file.
I am sorry I did not make myself more clear.
The website is mine and I have 4 domains on the server.
I do not want to have a domain that just lists files. What I need is a webpage the displays the files in one directory. Directory lister is a stand alone program that would generate the files as a html document but does not provide downloadable links to each file.
Self generating code would be better if it can be done with out asp net.
Or if someone knows of a program that would generate the html code with downladable link to each file.
After doing a lot of searches and checking out a half dozen programs I have found a program called "the html directory". Makes html file of directory with downloadable links.
You can use PHP for that (if you have it), be a lot better than running a program locally.
Yes, php is installed for a forum. How would I go about doing that in php? I also need to do it for a second directory now on a different webpage. jake58
I found an answer in apache. [ ...] httpd.apache.org jake58
to be specific I put this link with par in the html refering page.
lists files in ascending name order.
wordpress, attach files and the nesting is done for you.