Esp32 image transfer not all ftp tcpip packets arrive

I am already using disconnect when the ESP finishes FTP and reestablish WiFi when it is time to FTP again.
But a separate WiFi for the ESP is something I can try as well.
Thanks