Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

more options

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.

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.

All Replies (1)

more options

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?