we have a piece of code which generates a zip file on our system. Everything is ok, but sometimes this zip file while opened by FilZip or WinZip is considered to be corrupte
Perhaps swap the following two lines?;
fis.close(); zos.closeEntry();
I can imagine that the closeEntry() will still read some data from the stream.