Constructor
File()-
Returns a newly constructed
File.
Instance properties
The File interface also inherits properties from the Blob interface.
File.lastModifiedRead only-
Returns the last modified time of the file, in millisecond since the UNIX epoch (January 1st, 1970 at Midnight).
File.lastModifiedDateRead only-
Returns the last modified
Dateof the file referenced by theFileobject. File.nameRead only-
Returns the name of the file referenced by the
Fileobject. File.webkitRelativePathRead only-
Returns the path the URL of the
Fileis relative to.
Instance methods
The File interface also inherits methods from the Blob interface.
Specifications
| Specification |
|---|
| File API # file-section |