Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi everybody, Is there a javascript 'on_click download file' .zip or png ? Thanks |
||||
|
I tried this Var a = document.createElement('a'); a.href="https://websiteaddress/filewithstuffinit/thefile.zip"; a.download='thefile.zip'; a.click(); The message on the html page is Coukd not link program:Internal linking error Although left click the object and a request from IE save file that can't be downloaded... |
||||
|
Note that this is ONLY for the HTML5 export of Coppercube. This wont work on Windows/Mac targets. Not sure how to do this, though. |
|