That's from the FAT filesystem again. It's the WebServer module you're using: https://github.com/espruino/EspruinoDocs/blob/master/modules/WebServer.js#L188-L189
WebServer
Looks like when you init the webserver you need to be sure you specifically list your file:
memory: { 'web.html': { 'content': require("Storage").read('web.html'), 'type': 'text/html' },
See https://www.espruino.com/WebServer#how-to-use-the-webserver-module
used this, still got error "INVALID_NAME". Btw I uploaded file by this function in the IDE
@Gordon started
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.
That's from the FAT filesystem again. It's the
WebServer
module you're using: https://github.com/espruino/EspruinoDocs/blob/master/modules/WebServer.js#L188-L189Looks like when you init the webserver you need to be sure you specifically list your file:
See https://www.espruino.com/WebServer#how-to-use-the-webserver-module