Just an update of the HTML5 features is in http://www.html5rocks.com/en/tutorials/file/dndfiles/. This excellent article will explain in detail the local file access in JavaScript. Summary from the mentioned article:
The specification provides several interfaces for accessing files from a ‘local’ filesystem:
- File – an individual file; provides readonly information such as name, file size, MIME type, and a reference to the file handle.
- FileList – an array-like sequence of File objects. (Think
<input type="file" multiple>
or dragging a directory of files from the desktop). - Blob – Allows for slicing a file into byte ranges.
See Paul D. Waite’s comment below.