I get the full path of a file, how to instantiate a File object with this path ?
Asked
Active
Viewed 425 times
0
-
2It's not possible. Otherwise, any page could try to load `/path/to/passwordFile.txt` without you even knowing it. – Felix Kling Feb 17 '17 at 07:43
-
I thought you might use a file dialog but it seems you cannot pre set the path: http://stackoverflow.com/questions/29467588/how-to-open-html-file-dialog-with-specified-path-from-javascript – mvermand Feb 17 '17 at 07:50