0

I noticed that with html5 an entire folder can be uploaded like this:

<input type="file" name="file_input[]" id="file_input" multiple="" webkitdirectory="">  

this will send back to the server all files found in the folder.

However, is there a way to get an absolute path to the folder as a string and pass that to the server?

For example: If the path is C:\documents\my_folder then I would like to send that to the server as a string rather than sending all files inside my_folder

birdy
  • 8,476
  • 22
  • 98
  • 170

0 Answers0