flowjs / ng-flow

Flow.js html5 file upload extension on angular.js framework
http://flowjs.github.io/ng-flow/
MIT License
1.38k stars 303 forks source link

flow.files add file automatically. #350

Closed michalletniowski closed 6 years ago

michalletniowski commented 6 years ago

is it possible to add file to flow.files automatically in the background, without using flow-btn or with it but without interaction with the user? So when you lunch website, the file will be immediately in the ng-repeat="file in $flow.files" and that it all happen in the program code. The file would be downloaded from the server / memory/ variable.

AidasK commented 6 years ago

You can show up a file dialog without user interaction with "$('.upload-button').click()", but user still has to select a file. Where is no workaround for this. It would be a security breach imo. You can use browser extensions or mobile apps though.