Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Use Cases

    2. Security Considerations

    3. Browser Support

  2. Chapter 2 Storage and Quota

    1. Storage Types

      1. Temporary Storage
      2. Persistent Storage
      3. Unlimited Storage
    2. Quota Management API

      1. Requesting More Storage
      2. Checking Current Usage
  3. Chapter 3 Getting Started

    1. Opening a Filesystem

    2. Handling Errors

  4. Chapter 4 Working with Files

    1. The FileEntry

    2. Creating a File

    3. Reading a File by Name

    4. Writing to a File

      1. Appending Data to a File
    5. Importing Files

      1. Using <input type=“file”>
      2. Using HTML5 Drag and Drop
      3. Using XMLHttpRequest
      4. Using Copy and Paste
    6. Removing Files

  5. Chapter 5 Working with Directories

    1. The DirectoryEntry

    2. Creating Directories

      1. Subdirectories
    3. Reading the Contents of a Directory

    4. Removing Directories

      1. Recursively Removing a Directory
  6. Chapter 6 Copying, Renaming, and Moving Entries

    1. Copying a File or Directory

    2. Moving a File or Directory

    3. Renaming a File or Directory

  7. Chapter 7 Using Files

    1. Filesystem URLs

      1. Summary
    2. Blob URLs

      1. Summary
    3. Data URLs

      1. Summary
  8. Chapter 8 The Synchronous API

    1. Introduction

    2. Opening a Filesystem

    3. Working with Files and Directories

    4. Handling Errors

    5. Examples

      1. Fetching All Entries in the Filesystem
      2. Downloading Files Using XHR2
  1. Colophon