Can I get the path to a folder using <input type="file"> ? I press the button and select the folder that I need to copy. Or is it somehow done differently?

  • Such an opportunity seemed only through flash (Photo upload on VKontakte was implemented like this), js also does not start up, only gives the selected file / files - Artem Gorlachev

1 answer 1

No you can not. For security reasons, browsers do not allow this. You can select only files or a group of files.