Moderator: igrr
https://github.com/esp8266/Arduino/blob ... Server.ino
Then, you can use the WebUpdater.ino to get the file by providing the URL pointing to your SDWebServer.
https://github.com/esp8266/Arduino/blob ... pdater.ino
Pretty easy : simply use ESP.flashRead() function in a loop until the end of the firmware.
Take a look at ESP.getSketchMD5() function, it is pretty similar to calculate the MD5 by reading firmware byte per byte.