File interface File : Blob { readonly attribute DOMString name; readonly attribute Date lastModifiedDate; }; All Files are Blobs Not all Blobs are Files How to Get a File With an <input> element: <input type="file" onchange="process(this.files[0])"> With Drag-and-Drop: droptarget.ondrop = function(e) { var files = e.dataTransfer.files; upload(files); } User grants permission to read the file(s) by