← Back to release summary

FileSystemHandle::move() method

Category
File APIs
Type
No developer-visible change
Status
In development (Chrome In development)
Intent stage
Start prototyping

WPT details: File moves: https://wpt.fyi/results/fs?label=master&label=experimental&aligned&view=subtest&q=filesystemfilehandle-move Directory moves: https://wpt.fyi/results/file-system-access?label=master&label=experimental&aligned&view=subtest&q=filesystemdirectoryhandle-move

Summary

Currently, the File System Access API does not support an efficient way to move or rename files or directories. This requires creating a new file/directory, copying over data (recursively, in the case of a directory), and removing the original. This process is slow, error prone (e.g. disk full), and can require re-uploading files in some cases. See https://github.com/WICG/file-system-access/pull/317

Standards & signals

Ecosystem

View on chromestatus.com