W3cubDocs

/Web APIs

FileSystemFileEntry

The FileSystemFileEntry interface of the File and Directory Entries API represents a file in a file system. It offers properties describing the file's attributes, as well as the file() method, which creates a File object that can be used to read the file.

FileSystemEntry FileSystemFileEntry

Instance properties

Inherits the properties of its parent interface, FileSystemEntry, but has no properties unique to this interface.

Instance methods

file()

Creates a new File object which can be used to read the file.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
FileSystemFileEntry 8 79 50 No No 11.1 ≤37 18 50 14 11.3 1.0
createWriter 8 79
50–52While the createWriter() method existed, it immediately called errorCallback with the NS_ERROR_DOM_SECURITY_ERR error.
No No No ≤37 18
50–52While the createWriter() method existed, it immediately called errorCallback with the NS_ERROR_DOM_SECURITY_ERR error.
14 No 1.0
file 8 79 50 No No 11.1 ≤37 18 50 14 11.3 1.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry