From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 26 18:37:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3639916A571 for ; Mon, 26 Jun 2006 18:37:20 +0000 (UTC) (envelope-from ashok.shrestha@gmail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26C7446662 for ; Mon, 26 Jun 2006 16:23:00 +0000 (GMT) (envelope-from ashok.shrestha@gmail.com) Received: by hu-out-0102.google.com with SMTP id 28so961100hug for ; Mon, 26 Jun 2006 09:22:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nl1LJ0yJOV8NHPeX5Y/3XLhY0s+rnPo9l5vOaZ6RaL8oR6Y93dYlVAk78ZGEXZWrqJjMAZBeA2eAlEC81Gn2m2i8PVP5h9rsyHdeUf87uVYjKIg2wNmSKVokT1fDagfwh5/ri07vvs6ZUkbDSLMznCpMUVleoeFgdAayBL9jNps= Received: by 10.67.26.7 with SMTP id d7mr4983544ugj; Mon, 26 Jun 2006 06:38:13 -0700 (PDT) Received: by 10.66.251.5 with HTTP; Mon, 26 Jun 2006 06:38:12 -0700 (PDT) Message-ID: <79e2026f0606260638p2dd16970k5c46e210d94c7bcf@mail.gmail.com> Date: Mon, 26 Jun 2006 09:38:12 -0400 From: "Ashok Shrestha" To: freebsd-hackers@freebsd.org, "Ashok Shrestha" In-Reply-To: <79e2026f0606260618n603184e0ucbcb655b928a008c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <79e2026f0606260618n603184e0ucbcb655b928a008c@mail.gmail.com> Cc: Subject: Re: checking zip file corruption X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 18:37:20 -0000 I found it. zip -T file.zip Thanks anyways. On 6/26/06, 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. > > 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 one of you have done > this before. > > I apologize for posting this on a freebsd hackers mailing list but you > guys tend to be extremely intelligent. Plus I am using a bsd server :) > > -- > Ashok Shrestha > -- Ashok Shrestha