• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

free file listing on website

GeorgeB

Chairman/CEO TMCG
NLC
Does anyone know of a free file listing script to use on a website.

Basically, I just need a script that will list the files that are uploaded to a particular subfolder on a website, with a link that they can download whichever file that they want.

For instance:

http://www.domain.com/files

and then it lists each file that is uploaded to that folder, like:

file1.doc
file2.doc

etc
 
You don't really need a script. The easiest way would be to turn indexing on for that folder. If you really need a script, it's fairly straight-forward to do in PHP.

Indexing sample: http://www.wswd.net/bryan/test/
PHP sample: http://www.wswd.net/bryan/test/filelist.php

I just came across this one, and it works just like I needed it to.

http://halgatewood.com/free/file-directory-list/

I am not sure how to edit the code to make the newest file added to show at the top, so I emailed the creator and asked him.
 
Back
Top