https://www.html5rocks.com/en/tutorials/file/dndfiles/IntroductionHTML5 finally provides a standard way to interact with local files, via the File APIspecification. 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.The spec provides several interfaces for accessing files from a 'local' filesystem:File - an .......
↧