C
C B
I think there is a bug in ZipFile...
I use ZipOutputStream to build a zip file. The program zipped 72417
files, but after checking it with ZipFile, ZipFile.size() reported
only 6881 files in the file. So unfortunately, Java is unable to read
all the entries in the zip file, but Linux's PK-INFO (unzip) is able
to read the file.
I went on an older UNIX (non linux) server around here and tried
unzip, it said:
note: didn't find end-of-central-dir signature at end of central dir.
(please check that you have transferred or created the zipfile in
the
appropriate BINARY mode and that you have compiled UnZip properly)
The zip file is not corrupt, there isn't any data loss (with Linux's
unzip I can read all entries).
I'm using an IBM JVM, Java 1.4.2.
Any suggestions?
I use ZipOutputStream to build a zip file. The program zipped 72417
files, but after checking it with ZipFile, ZipFile.size() reported
only 6881 files in the file. So unfortunately, Java is unable to read
all the entries in the zip file, but Linux's PK-INFO (unzip) is able
to read the file.
I went on an older UNIX (non linux) server around here and tried
unzip, it said:
note: didn't find end-of-central-dir signature at end of central dir.
(please check that you have transferred or created the zipfile in
the
appropriate BINARY mode and that you have compiled UnZip properly)
The zip file is not corrupt, there isn't any data loss (with Linux's
unzip I can read all entries).
I'm using an IBM JVM, Java 1.4.2.
Any suggestions?