Using files from web applications | MDN

Showing file sizes

Select some files |

The File API makes it possible to access a FileList containing File objects representing the files selected by the user.