HTML and CSS Reference
Table B.34 lists methods associated with the FileWriter object. A FileWriter ob-
ject can perform multiple write actions, rather than just saving a single Blob .
Table B.34. FileWriter API
Sets a specific file location at which the next write will occur.
Alters the length of the file to the size passed in bytes.
Writes the input data to a Blob object.
TableB.35 lists the methods associated with the FileSaver object which has methods to
write a Blob object to a file.
Table B.35. FileSaver API
Creates a FileSaver object with Blob data.
Terminates file saving.
Table B.36 lists the events associated with the FileSaver object which has events to
monitor the progress of writing a Blob to a file.
Table B.36. FileSaver events
Fires when starting a writing event.
Fires repeatedly while file is being written.
Fires when a file is being written to.
Fires when file writing is canceled.
Fires in response to an error or an abort.
Fires when writing to a file has ended.
Table B.37 lists the methods associated with the FileEntry object. A FileEntry ob-
ject has methods to write and inspect the state of a file.