File api

Ehsan Akhgari ehsan.akhgari at
Wed Aug 27 17:52:30 UTC 2014

Reading a file that the user picks through an input type=file or by drag
and drop is already possible through the FileReader API: <>

Does that help you?

On Wed, Aug 27, 2014 at 12:17 PM, Mikko Levanto <mikko.levanto at>

> Hello !
> One feature is either missing or poorly defined in web browsers: local
> files.
> Javascript applications should be able to read and write local files.
> However,
> they should not be able to damage user's file space, nor spy it.
> The security requirements are similar those of file upload and download
> facilities, so it would be reasonable to have similar (from user's point of
> view) interfaces for file input and output for javascript applications.
> The HTML/Javascript api should give an event with an opened file.
> Security requires that applications cannot access user's files by name.
> I'm going to develope an application where reading and writing files is
> essential, preferable with a browser that is also safe for other use.
> Mikko
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the firefox-dev mailing list