View Full Version : Displaying Folder Contents

01-07-2003, 07:27 PM
I'd like to set up a way so that users can view (and link to) a list of files in a specific folder on the website. I figured by simply linking to the specific folder, making sure there were no index files in it would do the trick, but it seems the web host has the server configured so you can't navigate the folders like that (forbidden access message comes up.) (Side note, which may or may not be relevant: The forbidden access may not be web host-specific, but could be related to the fact that the folder is password-protected; however, the user I tested it with had full permissions on the folder, so it should not have been a permission problem.)

Is there a relatively easy way to get around this?? The goal is to have a group of people able to upload (regularly) to the folder, so I'd like something dynamic that will automatically display whatever files are in the folder, so hard-coding a list of files with links to them in HTML isn't ideal.

Not sure if this is the proper forum for this question, since I don't know what the solution will be.

01-08-2003, 07:32 AM
was wondering about that once before.
you could tell the user uploading to remember the file name / extension and directory. although its not the solution you were looking for it IS a solution ;)

01-08-2003, 02:35 PM
heh. I'm glad I'm not the only one who has thought of this. I know there's document management software that does this (and a number of other things) - but I'm hoping to find a simple way to implement that one little piece of functionality.

It seems like it would be a relatively simple thing to do...