File - Web APIs | MDN (original) (raw)
Constructor
Returns a newly constructed File.
Instance properties
The File interface also inherits properties from the Blob interface.
File.lastModified Read only
Returns the last modified time of the file, in millisecond since the UNIX epoch (January 1st, 1970 at Midnight).
File.lastModifiedDate Deprecated Read only Non-standard
Returns the last modified Date of the file referenced by the File object.
File.name Read only
Returns the name of the file referenced by the File object.
File.webkitRelativePath Read only
Returns the path the URL of the File is relative to.
Instance methods
The File interface also inherits methods from the Blob interface.
Specifications
| Specification |
|---|
| File API # file-section |