HTML5 JS API Index > File API Tutorials & Specs
This interface describes a single file in a FileList and exposes its name. It inherits from Blob.
- The last modified date of the file. On getting, if user agents can make this information available, this must return a new Date[HTML] object
initialized to the last modified date of the file. If the last modification date and time are not known, the attribute must return the current date and time as a Date object.
- The name of the file; on getting, this must return the name of the file as a string. There are numerous file name variations on different systems;
this is merely the name of the file, without path information. On getting, if user agents cannot make this information available, they must return the empty string.
|File(Blob fileBits, DOMString fileName)|