Esp32 image transfer not all ftp tcpip packets arrive

Tried packets 1500, 1024 and even 256 bytes, same behavior.
In fact I do not know if increasing the delay between bursts (as in the for loop on the code above) will result in distinct packets. Have no way to check it.