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]
default.asp ASP File 0 10/23/2004
easyads.txt Text Document 0 11/10/2004
example_env.tmpl TMPL File 2 11/10/2004
example_headlines.txt Text Document 672 6/22/2008
example_quiz.txt Text Document 1 11/10/2004
IISMapping.txt Text Document 36 11/10/2004
index.asp ASP File 0 11/10/2004
newsletterautonumber.txt Text Document 0 11/10/2004
newslib <Folder> 130 10/23/2004
wizdemo <Folder> 19 10/23/2004
xmlcatalog_database.xml XML Document 6 11/10/2004