X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How to get the full path of the upload file by the user,it works in IE but in FireFox 18 it just gives file name instead of fullpath

Posted

I am using Fire Fox 18.0.2,I could not able to get the full path of the file upload but it works in IE,where as in Firefox it just gives only the file name with extension.How to get the full path of the upload file.

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 10.1.4
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.5.635
  • 5.1.10411.0
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 1.6.0_27 for Mozilla browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

jscher2000
  • Top 10 Contributor
2359 solutions 20892 answers

This is a security feature, preventing scripts from accessing the full path of a file to be uploaded using <input type="file">.

In earlier versions of Firefox, your script might have asked the user's permission to access privileged information, but this feature was removed in the past few versions of Firefox.

Why do you need the full path?