Wednesday, May 09, 2012

Reading local files in JavaScript - HTML5 Rocks

Reading local files in JavaScript - HTML5 Rocks: "HTML5 finally provides a standard way to interact with local files, via the File API specification. As example of its capabilities, the File API could be used to create a thumbnail preview of images as they're being sent to the server, or allow an app to save a file reference while the user is offline. Additionally, you could use client-side logic to verify an upload's mimetype matches its file extension or restrict the size of an upload."

'via Blog this'