I'm trying to get the full directory path through the file type input, but so far I can only get a previous folder, for example, I have the folder in the path C: / user / Documents / Images / Yesterday so I would like to I can get the whole path, but I can only get the folder Yesterday, the code I'm doing is
$('#pasta').change(
function absolutepath(e){
var aqrs;
var theFiles = e.target.files;
alert(theFiles[0].webkitRelativePath);
});
With this code above it pick up the first file with the folder with the input below:
<input type="file" id="pasta" multiple webkitdirectory />
How do I get the whole route?