Date: Mon, 26 Jun 2006 14:08:17 -0400 From: Craig Rodrigues <rodrigc@crodrigues.org> To: Ashok Shrestha <ashok.shrestha@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: checking zip file corruption Message-ID: <20060626180817.GA52520@crodrigues.org> In-Reply-To: <79e2026f0606260618n603184e0ucbcb655b928a008c@mail.gmail.com> References: <79e2026f0606260618n603184e0ucbcb655b928a008c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060626180817.GA52520>