>>I think I misunderstood. I thought you were adding files to a zip archive. It sounds like you are trying to extract files from an archive, and either the archive itself, or one or more of the files it contains, are seemingly corrupt?
>
>Yes, a client started to send us those files recently and they won't fix it on their end. This is when we discovered that this particular situation is not falling within the current standard error output of the command. The class infrastructure was completed a few months ago. But, only recently we were faced with a new situation.
>
>They are building the zip file in such a way that it creates the corruption. The archive itself can be read but not all of included files.
I haven't used any recent versions of command-line zip utilities. However, I remember from many years ago the DOS PKZip/PKUnZip utilities included options to check the archive before trying to extract. This was during the time when floppy disks and hard disks were unreliable so archive corruption was a real possibility.
Does the current version have any checking capability like that?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up