View directory contents

I would like the HTML code that would produce the contents, by file name, of the default directory that the Web page is residing.  The generated list of this directory are jpg and gif images that change every day.  I want the user to be able to access this Web page, and view the names of the images, then click on the image to view it.

If this cannot be done in HTML, is there a Java applet that would produce the same results?

I have tried to access the page using FTP:// but this gives me a message that says I can't do this because this requires a password.
beachnetAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

beachnetAuthor Commented:
Edited text of question.
0
chewymonCommented:
I guess the easiest way would be to put the images in their own directory, say images.  Then the link is simple.  <a href="somepage.com/images"Click Me</a>

If the default directory that contains the images also contains an index.html(htm), any reference to it will automatically launch the webpage.
0
beachnetAuthor Commented:
chewmon:

Unfortunately when I apply your solution to the problem I receive the following error message:

Directory Listing Denied

This Virtual Directory does not allow contents to be listed.

Therefore I need some other method to accomplish what I need to do.  Any more suggestions?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

chewymonCommented:
What host or server are you using?  This sounds like a server side security setup.  It may not be possible to do it in HTML unless you can get the appropriate info from the server administrater.
0
beachnetAuthor Commented:
chewymon,

What "appropriate info" should I ask the server administrator?  Do you think a Java applet would do this?
0
chewymonCommented:
I doubt it.  What you need is username and password at the very least.  Then the sys admin will have to allow you to show the directory or give you permission to change the settings.  I hope you have a lot of clout at the company.
0
beachnetAuthor Commented:
Chewymon,

I contacted the company and they said if they did it for this site they would have to do it for all the sites and they could not do that.  I do have a user name and password that I use for FTP, but I cannot change the settings.

Thanks you for trying.

Is there anyone else that might have a solution for this problem?
0
chewymonCommented:
Change hosting company.  Even Geocities allows directory access. or at least they used to.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
beachnetAuthor Commented:
Thank you for your help.  I guesss there is no hope.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.