Description
To access files in the operating system there is the new "File System Access API".
It allows programs that run in browsers to open a file with the ability to rewrite it and access the contents of a directory.
It allows applications in the browser to have functionalities that are similar to the desktop.
Support for this API could be an interesting addition for QT Webassembly.
The API is used by Chrome/Edge, but is not supported by Firefox and Safari for privacy reasons.
You can see how it works at https://vscode.dev/
also see comments at https://www.amitmerchant.com/how-vscode-dev-interacts-with-user-local-filesystem/
References:
https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
https://web.dev/file-system-access/
See related closed Qt/Bug "webassembly: support local system file access"
https://bugreports.qt.io/browse/QTBUG-67834
Attachments
Issue Links
- is required for
-
QTBUG-102409 Further Webassembly Enhancements
- Reported
- relates to
-
QTBUG-109560 wasm: Improve support for drag-and-drop
- Open
-
QTBUG-103246 Qt should have a QIo like what KIO is. But much much better
- Open
-
QTBUG-98557 Web Assembly Local file access enhancements
- Open
-
QTBUG-92155 Provide a QML module for file system access
- Open