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

119
Vistas
How to save uploaded image in any particular folder

I am new to web dev and currently building a very basic page using Html/CSS and JS where users can upload the image and I can download it in my local system. But by default images are getting downloaded in the 'download' section of my desktop and I want to save them to any specific folder. How can I add this functionality?

about 4 years ago · Juan Pablo Isaza
3 Respuestas
Responde la pregunta

0

You can't.

You do not have access to other peoples file managers as that would be a major security risk.

about 4 years ago · Juan Pablo Isaza Denunciar

0

Uhh... You can't manipulate the download folder from frontend. It may be a security risk.

about 4 years ago · Juan Pablo Isaza Denunciar

0

This cannot be done by Javascript (otherwise we could all produce websites which saved files all over a user's local PC).

As the end user in this case you can go into your browser and tell it which folder to save downloads in by default. (And remember to change it back if you want any other downloads to go elsewhere).

Here for example is what I find on Edge on Windows10 when going into Settings>Downloads:

enter image description here

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