I have to upload one file from client using <asp:FileUpload> Button. I have to get the full client path.
For example, suppose the user uploaded a file from this local machines "d:\my files\docs\test.xml". So, now I want to get the same path ("d:\my files\docs\test.xml") to proceed further. How do I get it?
I have used FileUpload1.PostedFile.FileName. But it is working fine with IE and but not in Firefox.
How can I solve this for Firefox and Chrome?
Good Source:
http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
Checkout the “File Upload Control” section near the bottom. quoted:
This would suggest it is possible if the site is trusted (in IE) / older browsers