Re: checking zip file corruption



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 file? You can call "unzip -t" from Perl.

InfoZip is in ports, archivers/unzip and archivers/zip.

--
Craig Rodrigues
rodrigc@xxxxxxxxxxxxxx
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"