-->
Page 1 of 1

OTA update using file upload from browser

PostPosted: Fri Aug 30, 2019 1:55 am
by LPG
I am experimenting with OTA updates, but the SDK examples are all based on URL download from a given server. I would prefer a more direct binary file upload to the ESP8266 from a web browser.
The http-server examples show how to receive http-POST. This seems a suitable way to go, but the result is a "multipart/form-data" upload with "boundaries" mixed into the file. In the native SDK, is there a function to decode this to the unmodified binary file, or do I have to write my own code for that purpose?