I have had success using the http PUT verb. The Ondata appends to the filename, and the URL of the put becomes the filename of the file you want to write too.
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.
Are you tied to using web sockets?
I have had success using the http PUT verb. The Ondata appends to the filename, and the URL of the put becomes the filename of the file you want to write too.