No est谩ndar

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

La interfaz de la API FileSystem  para la entrada de archivos y directorios es usada para representar un sistema de archivos.  Estos objetos pueden ser obtenidos desde la propiedad filesystem (en-US) en cualquier entrada del sistema de archivos . Algunos navegadores ofrecen APIs adicionales para crear y administrar el sistema de archivos , como el metodo de Chrome requestFileSystem() (en-US).

This interface will not grant you access to the users filesystem. Instead you will have a "virtual drive" within the browser sandbox. If you want to gain access to the users filesystem you need to invoke the user by eg. installing a Chrome extension. The relevant Chrome API can be found here.

Because this is a non-standard API, whose specification is not currently on a standards track, it's important to keep in mind that not all browsers implement it, and those that do may implement only small portions of it. Check the Browser compatibility section for details.

Conceptos Basicos

Hay dos formas de acceder a un objeto FileSystem :

  1. You can directly ask for one representing a sandboxed file system created just for your web app directly by calling window.requestFileSystem().  If that call is successful, it executes a callback handler, which receives as a parameter a FileSystem object describing the file system.
  2. You can get it from a file system entry object, through its filesystem (en-US) property.

Propiedades (en-US) Read only
A USVString (en-US) representing the file system's name. This name is unique among the entire list of exposed file systems.
FileSystem.root (en-US) Read only
A FileSystemDirectoryEntry (en-US) object which represents the file system's root directory. Through this object, you can gain access to all files and directories in the file system.


Especificaci贸n Estado Comentario
File and Directory Entries API Draft Draft of proposed API

This API has no official W3C or WHATWG specification.

Compatibilidad entre navegadores 

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help! (en-US)

Caracteristica Chrome Firefox (Gecko) Internet Explorer Microsoft Edge Opera Safari (WebKit)
Soporte basico 13webkit (en-US) 50 (50) Sin soporte (Yes)[1] (Yes) webkit (en-US) Sin soporte
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support Sin soporte 0.16webkit (en-US) 50.0 (50) Sin soporte Sin soporte Sin soporte

[1] Microsoft Edge implements this interface under the name WebKitFileSystem, and supports its use only in drag-and-drop scenarios using the DataTransferItem.webkitGetAsEntry() (en-US) method. It's not available for use in file or folder picker panels (such as when you use an <input> element with the HTMLInputElement.webkitdirectory (en-US) attribute.

See also