ESP8266 with WebUpdater, how to send update without browser?

I don't want to use automatic updates initiated from the ESP device itself.
I can use the present system without the integrated firmware updater by using a web browser. It wors but is a bit clumsy because as part of the update the web browser seems to lose connection, it tries to load an URL which is simply instead of /firmware. This always fails of course....

I had hoped that someone here had already a solution, but it seems like I need to learn how to use Wireshark to find out what is really happening between the ESP and the web browser during updates.
BTW: I am using FreePascal/Lazarus to code the config app and Indy10 networking component for the TCP stuff.