55 questions
2
votes
0
answers
44
views
How should file storage access be organized in relation to the API gateway?
I'm building a system that consists of multiple microservices, databases, a message broker, and a file storage system that primarily stores photos. In my setup, I'm using MinIO as my file storage ...
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 ...
-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&...
1
vote
1
answer
62
views
How to Set Default Directory, Restrict Folder Access, and Enforce File Type Validation in <input type="file">?
I'm working on a file upload feature in an Angular project where users can upload specific files using an <input type="file"> element.
These are the html and css code snippets of the ...
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 ...
0
votes
0
answers
50
views
How to sequentially run SQL scripts on a local database cross platform?
I've written 5 sequential SQL scripts that I've been running in 'DB Browser for SQLite.app' on my Mac to update a local database file, and I was looking for a quicker, single button solution and a way ...
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 '...
1
vote
1
answer
291
views
How to create files in directories using File System API
I'm trying to write files to a Volume using the File System API using the following code:
const fileHandle = await this.directoryHandle?.getFileHandle(
entry.filename,
{
create: true,
}
);
....
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 ...
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 ...
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, ...
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 ...
0
votes
1
answer
503
views
File access system api(wicg-file-system-access) is not loading in dev environment
I am using wicg-file-system-access to access local files for my angular application, it works correctly on localhost but when i deploy changes to dev environment it is not working, i see window....
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 ...
-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 ...