September 2024
Beginner to intermediate
985 pages
35h 37m
English
Via the File API, it’s possible to access local files of the user via JavaScript, provided that the user has previously selected the respective files in a corresponding dialog. The specification at www.w3.org/TR/FileAPI/ defines the following interfaces for working with files:
The File interface represents a single file and contains information such as the name of the file or the last modification date.
The FileList interface represents a list of File objects selected by the user.
The Blob interface represents binary data.
The FileReader interface provides methods to read objects of type File or Blob.
In principle, there are two options to select files: the file dialog we discussed earlier, and the ...
Read now
Unlock full access