<div dir="ltr"><div>Reading a file that the user picks through an input type=file or by drag and drop is already possible through the FileReader API: <<a href="https://developer.mozilla.org/en-US/docs/Web/API/FileReader">https://developer.mozilla.org/en-US/docs/Web/API/FileReader</a>><br>

<br></div>Does that help you?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 12:17 PM, Mikko Levanto <span dir="ltr"><<a href="mailto:mikko.levanto@iki.fi" target="_blank">mikko.levanto@iki.fi</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello !<br>
<br>
One feature is either missing or poorly defined in web browsers: local files.<br>
Javascript applications should be able to read and write local files.<br>
However,<br>
they should not be able to damage user's file space, nor spy it.<br>
<br>
The security requirements are similar those of file upload and download<br>
facilities, so it would be reasonable to have similar (from user's point of<br>
view) interfaces for file input and output for javascript applications.<br>
The HTML/Javascript api should give an event with an opened file.<br>
<br>
Security requires that applications cannot access user's files by name.<br>
<br>
I'm going to develope an application where reading and writing files is<br>
essential, preferable with a browser that is also safe for other use.<br>
<br>
Mikko<br>
<br>
<br>
<br>
_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Ehsan<br></div>
</div>