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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -