imgsimonebiliato Well-Known Member Licensed User Longtime User Mar 30, 2016 #1 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.
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.
DonManfred Expert Licensed User Longtime User Mar 30, 2016 #2 Have you tried this https://www.b4x.com/android/forum/threads/string-crc32.50661/#post-316844 Upvote 0
imgsimonebiliato Well-Known Member Licensed User Longtime User Mar 30, 2016 #3 DonManfred said: Have you tried this https://www.b4x.com/android/forum/threads/string-crc32.50661/#post-316844 Click to expand... This is the first time I see it. But, in my case, what do I have to check (i mean I calculate the crc of the file from what)? Upvote 0
DonManfred said: Have you tried this https://www.b4x.com/android/forum/threads/string-crc32.50661/#post-316844 Click to expand... This is the first time I see it. But, in my case, what do I have to check (i mean I calculate the crc of the file from what)?
imgsimonebiliato Well-Known Member Licensed User Longtime User Mar 30, 2016 #5 DonManfred said: i guess from it´s byte-array Click to expand... What do you mean? The class that you linked, is refered to a crc calculated from string Last edited: Mar 30, 2016 Upvote 0
DonManfred said: i guess from it´s byte-array Click to expand... What do you mean? The class that you linked, is refered to a crc calculated from string