Click here to Skip to main content
15,895,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get complete excel sheet path using Fileupload control on clicking on Browse button in Asp.net using c# Code ?
Posted
Updated 29-Jan-15 20:00pm
v2

1 solution

The answer to your question is "you can't", because modern browser will not tell you the path on the client, for security reasons.

Moreover, no need to get this path, because in a Web Application, you just need to read the file and if you want to save, then save it to a Server Folder.
 
Share this 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