Error "crc mismatch" to decompress zip file

vecino

Well-Known Member
Licensed User
Longtime User
Hi, sorry to be a bit heavy with my doubts, try to search the forums before putting the question, but in this case I have not found the answer to my problem: I upload a zip file to an ftp server and then downloaded from android device. Finally decompressed data is imported. To create the zip, my clients can use linux or windows.
Anyway, I get the following error:
acimportacion_ftp_downloadcompleted (java line: 560)

java.io.IOException: java.util.zip.ZipException: Crc mismatch

at flm.b4a.archiver.ArchiverForB4A.UnZip(ArchiverForB4A.java:724)
at newtron.preventas.acimportacion._ftp_downloadcompleted(acimportacion.java:560)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA$3.run(BA.java:307)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)

java.io.IOException: java.util.zip.ZipException: Crc mismatch

I tried to unzip the file with ABZipUnzip libraries and
Archiver. In both cases does not work.

I created and downloaded the file several times and is fine, no errors and I can decompress from both linux and windows.

Can you help me with the problem?
Thank you very much and greetings.
 
Top