PDA

View Full Version : Does asp have the ability?


havey
12-05-2005, 11:10 PM
I'm wondering if an asp script can be used to kinda map out my website... that is, display a list of pages in the main and sub folders, looking for a list of URLs of all asp pages in my site, a list like:

http://www.company.com/default.asp
http://www.company.com/page2.asp
http://www.company.com/contactUs/pdefault.asp



can this be accomplished in good oldfashioned ASP? or maybe in aspx? (don't really want to double post)

pramsey
12-05-2005, 11:13 PM
Is this what you're looking for? http://www.codingforums.com/showthread.php?t=8736

havey
12-06-2005, 12:10 AM
those are fine example, but the folder name is needed to determine the files within, i'm talking about not having to hardcode the folder names into a script for the results. any ideas

Bullschmidt
12-06-2005, 02:34 PM
For some more related links:

Could I get some help working with files using FileSystemObject?
http://www.aspfaq.com/show.asp?id=2039

ASP File Explorer by Adrian Forbes - 5/27/2003
http://www.aspfree.com/c/a/ASP-Code/ASP-File-Explorer

ASP FileSystemObject Object
http://www.w3schools.com/asp/asp_ref_filesystem.asp
"The FileSystemObject object is used to access the file system on the server."

ASP TextStream Object
http://www.w3schools.com/asp/asp_ref_textstream.asp
"The TextStream object is used to access the contents of a text file."

Working with Drives, Folders and Files in ASP
http://www.stardeveloper.com/articles/050301-3.shtml