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

How i get full path in mozilla firefox using input <file> tag

  • 5 replies
  • 18 have this problem
  • 5 views
  • Last reply by NewBit

more options

Dear Sir, How i get full path of file using <input type="file"> tag in mozilla firefox 16.0 I allready get full path in internet explorer using value attribute but not in mozilla. So pls send me solution on this.

Thanks in advance.

Dear Sir, How i get full path of file using <input type="file"> tag in mozilla firefox 16.0 I allready get full path in internet explorer using value attribute but not in mozilla. So pls send me solution on this. Thanks in advance.

All Replies (5)

more options

Why do you need the full path?

It should be sufficient to have the file name.


  • bug 143220 - [FIX]Script can get the value of a file control, including the path

(please do not comment in bug reports)

more options

Dear Sir, i want to upload word file and store full path in my database so that admin of website can download that word file by clicking on that path.

more options

You would need an extension to get access to the full path.
Normal websites do not have access to the full file path for security reasons as you can read in the above posted bug report.

more options

I would also like this factility

I need our staff to select the "location" of an ISO file on the network, so there is no need to actually upload the file, we just know it location. Having a form "without" multi-part settings and using jquery to grab the path of the selected file from the input, would be perfect. All our staff use Firefox so we can change the config, I just need to know where.

We have control of the clients machines and can change their security settings, so turning this on would be useful.

Other that that what extensions could do this? I've searched without success

Modified by waygood

more options

I'm struggling too with this issue, I have built an intranet application for a customer who needs to store only the links to network files (so that the files can be edited and updated with external operations). In my humble opinion there is no security issue whatsoever, the clients already have access to the network shares via the file system... so my position as a developer is corrupted because it's very hard to explain to the customer why Firefox doesn't allow to retrieve local paths (when Explorer does). The customer would prefer to use Firefox but now they're forced to go with Explorer, where the settings for the intranet area can be different from the internet area.

P.S.: one of the solutions mentioned would be to add an extension to firefox, but it's not specified which one. I hope it's not "IETab", because if the only solution for Firefox to work is to behave like IE, then I'll just go with IE (and the customer too).