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

171
Views
Is there a way to programmatically set the default directory with File System Access API

Is there a way to set a defined directory path programmatically instead of showing the file explorer with .showDirectoryPicker() for the user to select the actual path?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to obtain a handle to your desired root directory once via showDirectoryPicker(). You can from thereon store the handle to the directory in IndexedDB and continue from there, even after a reload. Note, though, that you need to check permissions each time, since once granted permissions are not restored, but must be re-obtained each time, at least for the moment.

about 4 years ago · Juan Pablo Isaza Report
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!