Solved

Setting up a file compare window for a support site

Posted on 2008-06-18
5
192 Views
Last Modified: 2013-11-19
What is the method to scan a specific local directory on a users hard drive and display in the browser, the file name date and version number of specific files.  I will be comparing them to files on my web server in the same window.  This will show my users if they need to download a new dll from our website.

Does this use system.io?
0
Comment
Question by:bcolladay
  • 2
  • 2
5 Comments
 
LVL 4

Author Comment

by:bcolladay
ID: 21825942
To restate:

How do I display the contents of a persons hard drive to them in their browser?
My project is in C# ASP...
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 21836315
The EASIEST way to go about this is to use a VNC remote connect program, like TightVNC or even windows XP "remote assistance" which is built into the OS.

You can take control of the person's computer, use file manager on their system (i.e. window) to see their file dates, and compare them to yours.  I wouldn't attempt this is C# or ASP, it is much more comprehensive and useful to do it with the tools already available in the OS or in remote logins, like VNC.

If you are put off by the need to configure firewalls to client computers (a problem which you will also have in abundance with C#), then consider going with a web-based remote connect, like gotomypc --
https://www.gotomypc.com/

Remember, they charge for service to get through firewalls, but depending on client load, it might be cheaper than manually configuring all client firewalls.

A lot of people don't realize, that any VNC product can be configured to use ANY port you want.  SO if you use port 80 or port 8080 -- those are the HTTP open ports, so you are guaranteed to get through all firewalls that people are browsing the web across.

ANother way is to use dynamic DNS -- www.dnydns.com -- you can assign any client a "real" IP number, and you can VPN to their system like you were on their local network.

You cannot do any of this with C# or ASP.
0
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 21839506
This is an Internet page right?  The browser isn't going to let html or javascript do this.  Since C# and ASP are just server languages they depend on html, javascript, etc.  If you make an applet or object (i.e. ActiveX) then this could access the local file, with the permission of the user.  An ActiveX object will only work in IE.  Applets are commonly made with Java.

Let me know if you have a question or need more info.

bol
0
 
LVL 4

Author Closing Comment

by:bcolladay
ID: 31468532
Thanks, that was what i was after, I'm not ready to start on this porject just needed to know what tools I would be using.  If you can point me toward a tutorial that would get me on my way that would be great also.
Thanks.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 21847735
Grading Comments:
Thanks, that was what i was after, I'm not ready to start on this porject just needed to know what tools I would be using. If you can point me toward a tutorial that would get me on my way that would be great also.
Thanks.

bcolladay,

Your welcome!  I'm glad I could help.  I pasted the grading comment into this comment since, at this time, EE only shows it to you and experts who had comments accepted.  Now others will see it an this comment will make a little more sense.

One important thing to decide as you start to develop the applet/object to do this is do you need to support browsers other than IE.  Since ActiveX objects can have more control (when run in IE) than Java applets you might have to use them but I believe either applets or objects will work.  I don't develop ActiveX but VB, C++ or Delphi are common languages used to write the controls and objects.  You would also need a knowledge of COM.  A good place to start is http://msdn.microsoft.com/en-us/library/aa751968(VS.85).aspx but there are also many books that may be even more helpful.

To make an applet you commonly use Java because its runtime is usually available on the client's machine.  The runtime is available for most browsers and platforms so the applet will most likely run well on various computers and with various users.  Download the Java Development Kit to get started making one and learn the Java you need.  There is some starter info on applets at http://java.sun.com/applets/ .  Although I have made a few it isn't something I would call my expertise.

I hope this helps as a start.  Of course you can open a new question when you are ready to pursue this if you have a question or need more info.  Thanks for the fun question, the grade, and the points.

bol
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now