Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Is there a way to open a directory from JavaScript and use it as a (persistent) source for assets like images?

I would like to store images and configuration data on a device in a persistent manor.

Previously I have seen LocalStorage and IndexedDB being inexplicably wiped so I don't trust them as persistent, perhaps more like long term temporary storage.

I also can't really store images there without converting the images to base64 and storing them as text, which is a little cumbersome.

I would like the user to be prompted that my web app would like to access the filesystem so they are cognizant of that, but I would not like to have access to everything and I would like the prompt to appear once on first launch.

I am reading through the FileSystem API and it looks like there might be a solution there but I haven't found it yet.

Any suggestions to point me in the right direction?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!