Questions tagged [file-system-access-api]

Use this tag for questions about the W3C's File System Access API.

The W3C's File System Access API (currently being incubated), is a proposal for a new Web API that would give access to the user's disk.

This API allows to read or write Directories and Files on the user's disk.
It is currently exposed in Chromium based browsers.

Current specifications
Web.dev article

50 questions
0
votes
2 answers

FileSystemAccessAPI opens system file picker, but doesn't write to file

I have an HTML form (running locally) that I want to dump its output to a user-specified location on their local drive. I format the fields as a string (contents), and then I pass it to this JS code: writeFile.js // Create a handle; allow user…
0
votes
1 answer

JavaScript: File System Access API: Cannot enqueue a chunk into a closed readable stream

I am using the JavaScript File System Access API streaming a readable stream's output to a FileSystemWritableFileStream. I created a writable stream wrapper to use the writeStream.pipeTo(readStream) method, but I get the same error when performing…
R. Salisbury
  • 1,954
  • 16
  • 17
0
votes
1 answer

Edge browser Native File System removeEntry use

I'm working with the newest version of Edge (Canary release 86.0.615.0) and I can get the new Native File System API showOpenFilePicker to let me access files but I can't find a reference to the directoryHandle functions including the removeEntry…
-1
votes
1 answer

Does the Javascript File System Access API work with Mac? And if yes, are there any modifications needed for it to work?

I am sorry to ask a question that may have a simple answer, but I cannot find anywhere in the docs of the file system access api for javascript about platform specific support for this library. I have designed a web application that relies on this…
BugSpray98
  • 13
  • 1
-1
votes
1 answer

How do I get an HTML IMG to the contents of a file using the File System Access API?

I can get a file handle using the fairly-new File System Access API, and I'd like to set the file that it represents to the SRC property of an IMG element. (This is a client-only application with JavaScript running the browser, but there is no web…
Marc Rochkind
  • 3,678
  • 3
  • 30
  • 38
1 2 3
4