Asynchronous File System Browser
page 1 of 2
Published: 09 Oct 2003
Unedited - Community Contributed
Downloadable ASP files that allow you to see all files and folders an IIS directory listed in a neat format. You can browse through the entire file system using this simple script.
by Taewook Kang
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 14427/ 14
Article Contents:


Simply download two asp files and place them in any IIS directory. By default, the starting directory is C:\Inetpub. When you execute the index.asp in browser you can see all files and folders from your C:\Inetpub, listed in a neat format. You very well can browse through the entire file system. You can also change the location by just modifying the method, buildTree(). Modify the line, appendThings("C:\\InetPUB\\", 0);

You can download the code. Unfortunately there is no live demo of this code for security reasons.  This zip file contains two ASP pages and a image folder, which contains some images. If you want to work with the index.asp, then you need to have all these images.

View Entire Article

User Comments

Title: Try this.   
Name: RBDurgin
Date: 2007-06-24 9:19:38 PM
Haven't downloaded the code yet, but you would want to do something like this, after getting the selected fileName:
"attachment; filename=" + fileName);
Response.ContentType = "application/octet-stream";
Title: Awesome!   
Name: Doug
Date: 2006-11-08 5:10:41 PM
Yes I would like to do what Kevin wants to do as well.
Title: Saving Files   
Name: Kevin
Date: 2005-07-10 12:07:29 PM
Great script!! One small request though, can it be modified so that whenever it finds a file you can click on the file to open it or right click it to save it? I am attempting to use this for browsing a directory of pictures.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-07-23 2:31:51 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search