Reputation: 41
I want to enhance my browser-based web application with functionality that needs to read the absolute path of the files being uploaded and used for some processing, I have used HTML5 File API and PHP POST Upload method to support the upload functionality.
Question: Direct or work around method of reading the absolute path (client-side) of the file that is uploaded.
Upvotes: 1
Views: 974
Reputation: 44376
I'm not very familiar with FileAPI yet, but from what I can see in specs.:
File
interface that contains name
attribute. However according to the spec it's file name only, without path.You aren't able to get that.
Upvotes: 2