Esp32 image transfer not all ftp tcpip packets arrive

No, when you receive a bad CRC, request a re-transmission. You make your own CRC, so you don't need any knowledge of TCP/IP to do it. The CRC is on the payload, there may be CRC on the packets, but that isn't relevant to this...