O'Reilly logo

HTML5 Developer’s Cookbook by Tom Leadbetter, Chuck Hudson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required