Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
483 views

How can I save changes to a file selected from the user's computer in JavaScript?

Many modern web applications and PWAs allow users select a file from their hard drive, and then save changes back to that file directly. An old-school approach was to read the file, make the required ...
toastrackengima's user avatar
0 votes
1 answer
476 views

Access directories which look like files on Mac

I am creating a script for Chrome browser to handle files (using File System Access API). This is totally fine on Windows, but on MAC I have this issue: The files are stored in folders which look like ...
koubin's user avatar
  • 607
0 votes
1 answer
412 views

Read ANSI files in Web file-system-access API

I am trying to get files using file-system-access API and it works good using this code: function Process_Files(files) { [].map.call(files, async function (file, i) { if (isDataFile(file....
Christian's user avatar
  • 194
8 votes
2 answers
5k views

Access all files within a given folder (The File System Access API)

Can I use the File System Access API (https://web.dev/file-system-access/) to create something like a file explorer within a website (react). I plan to make a simple online file explorer that lets you ...
Akshay K Nair's user avatar