I built an app that take pictures and upload them to THe server, i'm using Apache commons FTP library to upload them. when i'm using wifi the images are uploaded without any issues... but when i'm using 2G mobile network to send them half of them the server recieve them as corrupted images.
i set the file type to binary file type.
is there a way to determine whether the images got corrupted or not.