Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
235 views

File System Access API only working for .txt file extension

I am working on a Next.js application and I am using the File System Access API to prompt the user for a folder location and create a file at that location. I have a valid FileSystemDirectoryHandle ...
Tyler Emel's user avatar
-2 votes
1 answer
67 views

How to update a JSON file (Not only JSON Model) in SAPUI5?

I have a SAPUI5 application where I have a JSON file users.json under my models like this: {"name":"John"} I want to update the JSON file like this on a button click {"name&...
Parvathy's user avatar
  • 191
0 votes
0 answers
177 views

How to access files on a shared storage in the same network using File System Access API?

I have a requirement to develop a browser based web application. The goal of the application is to manage files on a shared file system, from the browser, as if it was my local file system. If ...
Boris Stanojevic's user avatar
0 votes
1 answer
671 views

File System Access API - Failed to execute 'requestPermission' on 'FileSystemHandle': User activation is required to request permissions

in my project im trying to change multiple files at once. A folder is opened and all files are listed, then changed and saved again. On saving im getting the following error Failed to execute '...
Fluqz's user avatar
  • 371
0 votes
2 answers
2k views

File System Access API - open/read a file without using showOpenFilePicker()

I wonder if there is a solution to open only one file directly without using showOpenFilePicker() function? I don't want to let other users to pick a different file but API would use only the correct ...
Orbit's user avatar
  • 31
1 vote
2 answers
2k views

Can I set a specific drive (e.g,"D:\") as a default directory for showOpenFilePicker?

We have a Java (JSP) web application and I want (well, the client) wants when they upload a file , based on a specific condition , the file picker to open directly in the D drive root directory. Also ...
Marios's user avatar
  • 328
1 vote
0 answers
681 views

Trying to generate a 20+ gb zip file with JSZip + File System Access API, always fails around 20 GB

I've been experimenting with the file system access API recently to try to allow downloads of large directories from my site, where a page will start a write stream, start fetching the files, ...
roachie's user avatar
  • 31
4 votes
1 answer
2k views

File System Access API on Safari iOS - createSyncAccessHandle() UnknownError: 'invalid platform file handle'

I'm currently refactoring an app to use the OPFS to save images on an iPad for a use-case where a user needs to take pictures in a location that doesn't have wi-fi but storing all of the images in RAM ...
mshaw's user avatar
  • 67
1 vote
0 answers
203 views

"AbortError: Blocked by Safe Browsing." when using the Filesystem Access API

When I try to write any data to a file handle using the Filesystem Access API in Chrome Version 110.0.5481.100 I get: AbortError: Blocked by Safe Browsing. I am saving a custom extension for my web ...
zino's user avatar
  • 1,472
-1 votes
1 answer
473 views

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 ...
BugSpray98's user avatar
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
2 answers
846 views

Why does ShowDirectoryPicker hang?

I try to add folder scanning into my web page. Folder selection works fine and I get prompted if I want to allow the access to selected folder. But then nothing happens. In console I see "1" ...
Riho's user avatar
  • 4,595
0 votes
0 answers
18 views

File System API to open folder in network drive [duplicate]

I want to be able to open a folder that is on a network drive from a website, ideally it would be the starting from this location when a users first opens the window. Is it possible to have the shared ...
Standage's user avatar
  • 1,517
1 vote
1 answer
247 views

The File System Access API file writing gives error

When i run the following program: JS: async function write(){ const filehandle = window.showOpenFilePicker(); const writable = await filehandle.createWritable(); await writable.write('The file ...
iHateCamelCasing's user avatar
1 vote
0 answers
172 views

non-deprecated replacement for FileSystemEntry.toURL()

I am planning a project where I will need to be able to access files from the File and Directory Entries API through the browser through URLs with actual file paths (unlike blobs) and the ...
luek baja's user avatar
  • 1,674

15 30 50 per page