View Full Version : Listing all folders in the server
03-15-2006, 10:30 PM
03-16-2006, 03:52 AM
do a google search on asp's file system object. This will do exactly what you want
03-16-2006, 06:58 PM
03-18-2006, 03:18 PM
Without seeming like a B**** if you wanted a .Net answer did you post in the .Net forum?
However, to do this in asp.net you need to use 2 classes, one for directories and one for files. To access directory information, use either the Directory class or the DirectoryInfo class; to access file information, use either the File class or the FileInfo class.
you can find an example here http://www.upyourasp.net/articles/article.aspx?aid=5
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.