Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

196
Vistas
How get a file handle for the current directory

I am using showSaveDirectoryPicker() in a client-side app and want to use the 'startIn' parameter so that the user does not have to work down through a large file system. Such as in the following:

const fileHandle = await self.showSaveDirectoryPicker({startIn: directoryHandle});

Without a directoryHandle for StartIn, showSaveDirectoryPicker() opens at the desktop or one of a few standard folders -- way at the top of a an often deep file structure.

The html input file element with the webkitdirectory is good for UPLOADING and is convenient because it opens in the client file system at the current place; that is, where the HTML file resides and is initiated from. How can I get a directoryHandle for that same place to use in DOWNLOADING using showSaveDirectoryPicker() ?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda