Solved

How to open client file system from ASP.NET web page

Posted on 2008-10-08
1
702 Views
Last Modified: 2012-05-05
I would like to have a button on a web page which when pressed opens a windows showing a clients file system starting in a default directory. I cannot use the fileupload and SaveAs because the IIS server running the web site doesn't have access to the file system which needs to save the file. Ideally I would like to open a window allowing the user to select a file in one windows and then save that file into another directory.
0
Comment
Question by:Graham_Forbes
1 Comment
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22669289
This is not possible with ASP.NET or html since for security reasons no web page will have  permission to access client machines file system. Only way to access files from a web page directly is by using FileUpload control.

To achieve what you are looking for you have to either create an ActiveX control or Java applet.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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