javascript - How to get files[0] or [object File] of certain file populated by using its full path? -


i'm trying make user click once on button on-click function , initiate file upload, without making him pick file through clicking first on "choose file" opens file dialog box. possible through populating files[0] object array or [object file] if have full absolute path of such file ?

no, without user input allowing javascript direct access user's file system pose large security risk.

check out this answer.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -