We may not be able to save files directly to the user's filesystem, but we can access files using HTML5's File API. The File API allows you to get information about, and load the contents of, files that the user selects. The user can select files using an input element with a type of
file. The process for loading a file works in the following way:
filesproperty. The list is a
FileListobject containing File objects.
File object contains three fields.
name: This is the filename. It doesn't include path information.
size: This ...