Need help displaying file structure

  • Thread starter Thread starter BW
  • Start date Start date
B

BW

We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view their
files. What is the best way to accomplish this? Each client could have
several subdirectories below them.

Thanks
BW
 
Use a treeview control and recurse through the directories, picking out
those files that have *.jpg, *.gif, *.png as the extension, etc. When you
encounter an image, create an image node on the tree; when you encounter a
directory, use a directory icon of some kind.
 
Back
Top