Esp32 image transfer not all ftp tcpip packets arrive

For me to resend the picture the ESP32CAM has to know the picture arrived damaged.
The FTP server has no mechanism to tell the ESP32 of this problem as the FTP server is detecting no error. Sending CRC will not help as the FTP server will not be able to report back to the ESP.