how 2 read from local file on user's machine?

  • Thread starter Thread starter Jason Shohet
  • Start date Start date
J

Jason Shohet

When I use streamwriter / streambuilder and open a file on c:xxx, its
opening it on the web server itself. I want to open a text file (and read
from it) on the local user's machine.

Any way to do this in .NET?
VR
Jason Shohet
 
Only if you have the user download a WinForms control in the webpage. For
security reasons, this isn't possible to do using ASP.NET.

(That's not strictly true, of course; if you could convince the user to put
your site in the fully trusted zone, you could use assorted ActiveX controls
to do what you want).

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top