Re: checking zip file corruption

2006-06-29 Thread Ashok Shrestha
Thank you for the suggestion. On 6/26/06, Craig Rodrigues <[EMAIL PROTECTED]> wrote: On Mon, Jun 26, 2006 at 09:18:31AM -0400, Ashok Shrestha wrote: > Hi all, > > I am writing code to check if incoming zip files are corrupt and the > client is not willing to send a digest (like md5) of the file.

Re: checking zip file corruption

2006-06-26 Thread Ashok Shrestha
I found it. zip -T file.zip Thanks anyways. On 6/26/06, Ashok Shrestha <[EMAIL PROTECTED]> wrote: Hi all, I am writing code to check if incoming zip files are corrupt and the client is not willing to send a digest (like md5) of the file. I need to check if a zip file is corrupt. A Perl API i

Re: checking zip file corruption

2006-06-26 Thread Craig Rodrigues
On Mon, Jun 26, 2006 at 09:18:31AM -0400, Ashok Shrestha wrote: > Hi all, > > I am writing code to check if incoming zip files are corrupt and the > client is not willing to send a digest (like md5) of the file. Why don't you just use InfoZip's "unzip -t" flag which tests the integrity of a zip f

checking zip file corruption

2006-06-26 Thread Ashok Shrestha
Hi all, I am writing code to check if incoming zip files are corrupt and the client is not willing to send a digest (like md5) of the file. I need to check if a zip file is corrupt. A Perl API is preferable but anything you can suggest is cool. I was unable to find anything on google. Perhaps o