14. Working with Local Files
Until HTML5, working with files in the client browser has had minimal attention and support. Typically, the breadth of functionality has consisted of simple file selection for posting to a web server. With HTML5 and a supplemental API set, the File API, we now have an increased set of functionality and more importantly a standardized set of functionality to get basic attributes of files and read different file types into the client browser through JavaScript. In this chapter, you will learn about the new set of functionality with the File API through recipes that will cover the basics as well as some newer File API specifications that are on the horizon.
File API Overview
The File API provides a standardized way to ...
Get HTML5 Developer’s Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.