I use file tag to support file selection in javascript and html.
For security limitation, I just get the file name and some information of file like size...
But I want to get the full path of the file.
How can I do that?
I checked answers like below:
*For security reasons browsers do not allow this, i.e. JavaScript in browser has no access to the File System, however using HTML5 File API, only Firefox provides a mozFullPath property, but if you try to get the value it returns an empty string:
$('input[type=file]').change(function () { console.log(this.files[0].mozFullPath);});*
But I want to use Chrome support.
Command to get the full path of file.