Demo Site for ASP and the Files System Object
You will see 4 options in the left menu
- Browse Files
This is a script which searches from a base directory and gets all files and folders and presents them in a single page. Text files (*.txt) are read into the HTML while other files are presented as links. Folders can be open and then sorted by file attributes.
- Examine Web
This provides a summary of documents by type with the ability to drill down to see all documents with the same extension.
- ASPDoc
This provides a listing of all functions in all the code from the scripts that make up the FSO Demo. Initially it scans the files and extracts the line number and name of any function or subroutine. It also provides a link to open the file and view the ASP script code which has been color coded. The color coding is all CSS.
- XML File
This is a demonstration of going through a file system and saving the structure as XML. The ASP Scrips then read the XML and create a tree view of the folders and files. The folders call a script to show the contents of the folder in a sortable table. The files are either opened as is, for most media files, or the contents are displayed if they are ASP Scripts.
Some Information on this site (demo.frogsfolly.com)
- The directory structure that I point to is the fso_demo folder where all of the files for this demo are held.
- This is NOT production worthy, to be used to demonstrate the concepts of using the FileSystemObject
- I did NOT create this from scratch, I have used many excellent examples from the following sites to build this demo
- Planet-Source-Code.com
- Xefteri.com
- 4Guys from Rolla
- Code Project
- Developer Fusion
- Learn ASP
- Tutorial Web
- Site Point