Esp32 image transfer not all ftp tcpip packets arrive

I know of no way to make the FTP interact back with the C++ script in my ESP.