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

Moderator: igrr

User avatar
By mph070770
#57761 HI Martin,

My conclusion that it is slow is because it takes around 50 seconds for the client.write calls to send a 150KB file. I've seen discussions here: viewtopic.php?f=29&t=2417 and here: https://github.com/esp8266/Arduino/issues/1430 that seem to suggest it's a problem experienced by others. I changed my code to use the SyncClient by "me-no-dev" and that decreased the transfer time from 50 seconds to 20 seconds. However, this is still slow - 7.5KB/sec!!

The same upload on my PC takes a couple of seconds (if that). I don't know enough about low level networking to know what the ESP is doing but, given they are on the same network, why can the PC transmit the data so much more quickly?