In the examples I also found the ESP8266Webserver/WebUpdate which is a simple webpage hosted on the ESP8266 where you can update a new firmware image. I have a 100% success rate* using this method (*Only tested it once )
https://github.com/esp8266/Arduino/blob ... Update.ino