All source code in ASP/ VbScript Ask a ASP/ VbScript Pro Discussion Forum Categories All jobs in ASP/ VbScript
Quick Search for:  in language:    
script,allows,browse,file,system,remote,compu
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 281,486. lines
 Jobs: 101. postings

 How to support the site

 
Sponsored by:

 
You are in:
 
Login

NEW! LEARNING CENTER
Special educational offers, white papers, webcasts, podcasts

  NEW! Download Rational Performance Tester V8 (download now)
  NEW! Download Rational Functional Tester V8 (download now)
  NEW! Download Rational Service Tester for SOA Quality V8 (download now)
  NEW! Teleconference: Quality In Action - Using Rational Quality Manager with Functional, Performance and Web Service Testing Products (download now)
  NEW! Introducing IBM Rational AppScan Developer Edition – easing security testing by non-security professionals (download now)

 

 


Latest postings for ASP/ VbScript.
Click here to see a screenshot of this code!Mess Officer Management System (Sistem Pengurusan Mess Pegawai)
By Mohd Fauzi on 11/23

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Remote File Explorer

Print
Email
 
article
Submitted on: 7/19/2000 12:09:01 PM
By: Lewis E. Moten III  
Level: Intermediate
User Rating: By 4 Users
Compatibility:ASP (Active Server Pages)

Users have accessed this article 19833 times.
 
author picture
(About the author)
 
     This script allows you to browse the file system on a remote computer through your web browser.

This article has accompanying files

 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.

This little ASP project was a little experimentation with the File System Object that comes with the VBScript Run-Tim Library. It allows a user to view the file system on any hard drive of the web site. This may in fact, cause a very large security issue. I could have done more as to make a real "File Explorer" environment letting one to Cut, Copy, Paste, and move files around. Move them to a download directory and view them, change the contents of the file, rename files, and more. I stopped at the point so that you can only view the contents.

This small application was designed with Microsoft Internet Explorer 5.0 with Netscape in mind. I do not know if netscape will display the forms correctly. Also, it works well on Windows 98 Personal Web Server. If you wish to learn a little about the FileSystemObject, then you may want to view the source of this file with Note Pad, HomeSite, or Visual InterDev.

The next project may be like this one, except I will limit it to only view the contents of a web directory itself. Mainly - so that a spider for a search engine will always have access to every single file, weather or not I link it from another file.

The icons were an interesting part of this project. If an image can not be found in the images directory to display the extention type, a default "unknown" icon will be displayed so that all files will have non-broken links to images.

Download

This zip file comes with the executable and the source code. Hopefully it is all self explanitory to navigate along with this web page. This is only the asp page itself and does not include the web server. You may need to install an ASP capable server and place these files in a scrptable directory. "C:\InetPub\RemoteExplorer\".

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 102 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this article(in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
7/20/2000 8:58:38 AMRomeo Gentile

Compliments! Beautiful script! I found one error in the line number 181: somtimes an error occours in System Folders. I changed the line with this few lines:

(If this comment was disrespectful, please report it.)

 
10/24/2000 4:41:36 PMAmine

Can you add a function so that when you click on the file, and if the file is supported by the browser it will open.
Thank you
(If this comment was disrespectful, please report it.)

 
7/20/2001 12:30:26 PMTodd

Very interesting code. Would you by chance have a version where you can copy/paste/move files.. and even view them? I ask because we're trying to create an integrated desktop within our intranet. I would like them to basically be able to do waht they can with windows explorer.

I do have one issue though.. I really could care less what is on the IIS server, how can I view the local computers files?
(If this comment was disrespectful, please report it.)

 
3/26/2002 9:45:57 AMLila

Perfect script...I have a question: if i want to view/edit the file not in the Webserver maar for example in my own C or another drive how can I do that..i really appreciate it if somebody helps me..thanks
(If this comment was disrespectful, please report it.)

 
3/26/2002 9:47:29 AMlaila

perfect script. But if i want to navigate not in my webserver but somewhere else like my own C OR ANY ANOITGER DRIVE WHAT CAN i DO? i really need this thanks
(If this comment was disrespectful, please report it.)

 
4/19/2002 11:01:21 AMDaniel

Perfect script...I have a question: if i want to view/edit the file not in the I've got the same question as Lila,

(Webserver maar for example in my own C or another drive how can I do that..i really appreciate it if somebody helps me..thanks)
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2008 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.