Hello,
I created an application 1 year ago, that use the SMB library to upload some images from the android device to a server (maybe there is something better nowadays?).
On the other case, sometimes these images aren't uploaded completely, despite the library says "Upload success", so I need to implement a system to verificate the upload process.
I thought to calculate the crc of the file, but I don't know how to do that. Someone, please, can help me? Also if there are any other secure mechanisms to upload files.
I created an application 1 year ago, that use the SMB library to upload some images from the android device to a server (maybe there is something better nowadays?).
On the other case, sometimes these images aren't uploaded completely, despite the library says "Upload success", so I need to implement a system to verificate the upload process.
I thought to calculate the crc of the file, but I don't know how to do that. Someone, please, can help me? Also if there are any other secure mechanisms to upload files.