0

May I ask, is it possible to write local file via javascript using firefox.
Something like ActiveXObject("Scripting.FileSystemObject") in IE.
Thank you very much

martinwang1985
  • 528
  • 3
  • 26
  • 42
  • You cannot read/write local files with a client side script language directly. It would have security implications. – px5x2 Aug 27 '15 at 08:29

1 Answers1

1

Easy way is to send the file to Firefox as a download. So user can choose where to store this file.

Navigators can not act directly on local file system because of security implications!

Jouflu
  • 81
  • 3