I'd like to generate an HTML page that lists all the files contained within a specific directory on our web server. The server is running the usual services so it doesn't matter if the solution is written in HTML, Perl, PHP, whatever - as long as it's simple.
So, for example, when a visiter opens the page www.sitename.com/filelist.html
, the page contains a list of all the files in www.sitename.com/files
I'd then like to have an image or button next to each item called 'Download' that visitors click to retrieve the appropriate file.
The next step is to provide another page that allows visitors to upload but that solution seems more common, there appear to be a few examples around so I'll try those! I'll also need to add security at some point, so users have to log in before they can upload or download - but that can wait.