Click here to Skip to main content
15,880,364 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
application resides at server and client accessing from his own system (web application). when the user selects a text file then I wanna read text file and send to server side.
Posted

Just think how dangerous it would be to access clients files from web application. Sorry mate you can not do it.

On the other hand you could use ActiveX, to implement what you want, but that is totally different story.
 
Share this answer
 
You can give them an upload control where they specifically choose to send you the file. As Yusuf said, if the user is willing to trust you and install an Active X control, that might work, but otherwise, an upload control is what you want. If you didn't know about the upload control, that's a good sign that you need to read a basic book on ASP.NET.
 
Share this answer
 
you can use Activx object to read the text file in client side
 
Share this answer
 
Comments
Ankur\m/ 28-Jul-10 0:11am    
Reason for my vote of 1
This is already said by the other users. Did you add anything extra?
raju melveetilpurayil 28-Jul-10 16:44pm    
Reason for my vote of 1
I am not promote copying answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900