|
|
 |
| |
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\".
| |
Download 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 |
|
| |
| Your Vote! |
|
See Voting Log |
| |
| Other User Comments |
7/20/2000 8:58:38 AM: Romeo 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 PM: Amine
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 PM: Todd
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 AM: Lila
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 AM: laila
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 AM: Daniel
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. |