Download and execute executable app automatically using flask/python framework -


i working on task of application runs web can automatically download executable application , place on external media specified volume label. how should start regarding using flask/python framework.

web browsers not let choose executable gets downloaded. create security problems. unless, mobile progressive webapp, in case there might possibility can ask permissions download app in specific location, otherwise, not allowed.

what can do.

you can perform normal download, , user move executable external media. can done inserting following javascript:

  let = document.createelement("a");   a.href = exe_data;   a.download = 'some_name.exe'   document.body.appendchild(a)   a.click();   window.url.revokeobjecturl(a.href);   a.remove() 

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -