I am wondering where the file path is stored in a File object in HTML javascript.
I used the Webkit DevTools and got this:
FileList
0: File
fileName: "script.js"
fileSize: 71268
name: "script.js"
size: 71268
type: "application/x-javascript"
__proto__: File
length: 1
__proto__: FileList
The file name, size and types are there(anyone knows why name and size have 2 variables), but the path is not.
Is there any way to find path of the file, and if not, how does the browser and javascript read the file(such as POST methods & determining the type and size)?