FileSystemFileEntry

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

Specification
File and Directory Entries API
# api-fileentry

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
FileSystemFileEntry
createWriter
DeprecatedNon-standard
file

See also