As title, I creates the zip file from my Django backend server (hosted on a Ubuntu 14.04.1 LTS) using the python zipfile module:
zipfile.ZipFile(dest_path, mode='w', compression=zipfile.ZIP_DEFLATED,
allowZip64=True)
I managed to open it using my Mac in Finder, but no success using the SSZipArchive library. I have tried using the latest commit of master branch and also tag v1.0.1 and v0.4.0.
Using v0.4.0, I got error in line 1506 of unzip.c:
if (unz64local_CheckCurrentFileCoherencyHeader(s,
&iSizeVar,
&offset_local_extrafield,&size_local_extrafield)!=UNZ_OK)
return UNZ_BADZIPFILE;
and it stucked at unzipping on the same file every time with the same currentFileNumber
.
Does anyone get any clues?
P.S. I think SSZipArchive should support Zip64 archive file as I have asked a question on their github repo.
Updates [20160129] I performed a zipinfo check on the zip file and have the following output:
...
-rw-r--r-- 2.0 unx 1992 b- defN 26-Nov-15 14:59 <file_name>
-rw-r--r-- 2.0 unx 925 b- defN 26-Nov-15 14:59 <file_name>
-rw-r--r-- 2.0 unx 1194 b- defN 26-Nov-15 14:59 <file_name>
-rw-r--r-- 2.0 unx 72 b- defN 26-Nov-15 14:52 <file_name>
-rw-r--r-- 2.0 unx 289 b- defN 18-Jan-16 11:27 <file_name>
-rw-r--r-- 2.0 unx 1541 b- defN 18-Jan-16 11:27 <file_name>
-rw-r--r-- 2.0 unx 295 b- defN 18-Jan-16 11:27 <file_name>
-rw-r--r-- 2.0 unx 449619181 b- defN 18-Jan-16 11:26 <file_name>
-rw-r--r-- 4.5 unx 73128184 bx defN 18-Jan-16 11:26 <file_name>
-rw-r--r-- 4.5 unx 69444488 bx defN 18-Jan-16 11:26 <file_name>
-rw-r--r-- 4.5 unx 671440 bx defN 18-Jan-16 11:26 <file_name>
-rw-r--r-- 4.5 unx 20189549 bx defN 18-Jan-16 11:27 <file_name>
-rw-r--r-- 4.5 unx 197 bx defN 18-Jan-16 11:26 <file_name>
-rw-r--r-- 4.5 unx 1379396 bx defN 18-Jan-16 11:26 <file_name>
...