What device are you using? Bangle.js, or something else?
Honestly I'm not sure you're going to have much luck trying to force the Web IDE in to uploading a file - the file upload there is designed to use Storage.
If you want to automate it, it should be reasonably easy to mash the File Converter code together with the Web Bluetooth example at http://www.espruino.com/Web+Bluetooth to make a website that will upload directly
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
What device are you using? Bangle.js, or something else?
Honestly I'm not sure you're going to have much luck trying to force the Web IDE in to uploading a file - the file upload there is designed to use Storage.
The best solution is:
Base 64 Flash Write
as the modeAnd you should be sorted!
If you want to automate it, it should be reasonably easy to mash the File Converter code together with the Web Bluetooth example at http://www.espruino.com/Web+Bluetooth to make a website that will upload directly