The ASP Emporium
Free Active Server Applications and Examples by Bill Gearhart
Online since Friday January 7, 2000

 home > code > classic asp apps > DirectoryBrowser Object

enter a phrase to search:(advanced search)


 h o m e 

 w h a t 's  n e w 

 a l l   c o d e 
  .net:
    • Fundamentals
    • C# Classes
  classic asp:
    • Code Library
    • ASP Apps
  general:
    • Tutorials
    • SQL

 d o w n l o a d s 

 u s e r   f o r u m s 

 l i n k s 

 s e a r c h 

 s u p p o r t 


DirectoryBrowser Object

Browse through your entire web site with this system. Allows unrestricted surfing of your entire web site and all of it's sub directories - all from this one file! If you ever wanted to know how to sort data returned by the Scripting.FileSystemObject, this example is for you.

This is Version 2.0 of the Complete Web Site Directory Browsing example, updated 12/22/00, and now known as the DirectoryBrowser Object.

Includes the following new and improved features, not found in version 1:
  • Code fully encapsulated into a VBScript Class
  • Dynamic location menu with link support
  • Sorting of files by Name, Type, Date, Size. Ascending and Descending sort types currently supported.
  • Uses custom ADO recordsets to sort and store file system data temporarily on the fly without a database!
  • Security Hole Fixed Thanks to mrv@giganetstore.com for pointing out a security hole in the system. Read his post in the forum.
Location: www.aspemporium.com./aspdata

name ASC DESC type ASC DESC size ASC DESC last modified ASC DESC
[up one directory]
.htaccess HTACCESS File 1 5/24/2009
easyads.txt Text Document 0 6/15/2009
example_env.tmpl TMPL File 2 6/15/2009
example_headlines.txt Text Document 0 7/2/2009
example_quiz.txt Text Document 1 6/15/2009
IISMapping.txt Text Document 36 6/15/2009
newsletterautonumber.txt Text Document 0 6/15/2009
newslib <Folder> 130 5/29/2009
wizdemo <Folder> 20 5/29/2009
xmlcatalog_database.xml XML Document 6 6/15/2009