Skip to main content
Inspiring
August 22, 2006
Question

Show folders in a directory

  • August 22, 2006
  • 2 replies
  • 223 views
Hi Guys,
Im wondering how i can visually show a user a list of folders in a given directory in the root.

Say I have a folder called albums and inside it may have many folders named whatever as no set names will be given??

Id like to show an area on a page that will look to my albums folder and read the folders in there and show them on the page so the user can click on them and view the contents..

Im sure I can do this I just am not sure of that controls etc to start off with?

Any advice is very welcome.
Thanks again
Tag
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
August 23, 2006
Most application servers have the ability to list out directories and their
contents. What server are you using?

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Tag2007" <webforumsuser@macromedia.com> wrote in message
news:ecf922$j2$1@forums.macromedia.com...
> Hi Guys,
> Im wondering how i can visually show a user a list of folders in a given
> directory in the root.
>
> Say I have a folder called albums and inside it may have many folders
> named
> whatever as no set names will be given??
>
> Id like to show an area on a page that will look to my albums folder and
> read
> the folders in there and show them on the page so the user can click on
> them
> and view the contents..
>
> Im sure I can do this I just am not sure of that controls etc to start off
> with?
>
> Any advice is very welcome.
> Thanks again
> Tag
>
>


Tag2007Author
Inspiring
August 23, 2006
Thanks Paul,
Im on a windows server with IIS and im using ASP/VBs & Access Database

Its just a fun project im doing, I made a little voting gallery where my members can add a pic and then it gets displayed and can be voted on, they are displayed then in order of votes....very simple but works..

So I wanted to extend this and make a Photo album and have the ability to create folders/albums so pics can be categarised..

Ive played with the FSO and can make the folders and use the SubFolder property and get all the folders within a given folder..

So I now have to work out is this the way to do it?
Make a folder then get pics added to it?

Or do I do it all in the database and just make folder names in a table and when adding pics assign them to fields from the album table to categarise them and have them display in what looks to be albums?

I hope you get that I can be long winded I know...

Thanks again for your reply.
Regards
Tag