Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using fileupload control on my form. when I select my file from local disk or from any path it showing only filename in Mozilla .I want full path. I dont want server path where I am uploading my file. I want client machines full file path. Its working fine in IE6 but in IE8 its showing same problem as there in Mozilla.

How can I get file path??

Thanks
sjs
Posted
Comments
DaveAuld 17-Jan-11 1:06am    
It is by design, search google, it is considered a security risk for the server to know about the file structure of the client. I have searched in a few places and not found a suitable way to obtain the client path information.

hi,

It is depend on browser functionality, You can't do it. you can do that is..

-> Update your browser version. Because at my side i am able to see full path in both IE8 and Firefox.
 
Share this answer
 
check here similar discussion[^]
 
Share this answer
 
Comments
Venkatesh Mookkan 17-Jan-11 0:40am    
Good reference
Manfred Rudolf Bihy 17-Jan-11 1:37am    
Good call! 5+

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