Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By martinayotte
#52045 Although I didn't tried it myself, the ESP8266HTTPUpdateServer is using the core UpdaterClass which has the following method :

UpdaterClass::begin(size_t size, int command);

ESP8266HTTPUpdateServer is calling it without the command argument, so it ends up using the default U_FLASH command.

By modifying the ESP8266HTTPUpdateServer to explicitly using the U_SPIFFS command, it should work.