Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 20:11:25 +1100
From:      andrew clarke <mail@ozzmosis.com>
To:        Martin Vana <martin.vana@vslib.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to extract winzip files?
Message-ID:  <20040223091125.GA4899@ozzmosis.com>
In-Reply-To: <20040223095524.072569c6.martin.vana@vslib.cz>
References:  <20040223095524.072569c6.martin.vana@vslib.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 23, 2004 at 09:55:24AM +0100, Martin Vana wrote:

> Is there a way, I can uncompress zip files made under win? 
> Unzip from ports collection probably can't do that:

It should.  My guess is the file you're attempting to unzip is corrupt
somehow, or simply not a ZIP file at all.  Try running the `file'
command on it, eg.

$file /usr/ports/distfiles/ue400dev.zip
/usr/ports/distfiles/ue400dev.zip: Zip archive data, at least v2.0 to extract

> End-of-central-directory signature not found.  Either this file is not
>   a zipfile, or it constitutes one disk of a multi-part archive.  In the
>   latter case the central directory and zipfile comment will be found on
>   the last disk(s) of this archive.
> 
> and I'm sure this is not multipart archive or broken file.

I suppose it's possible that more recent versions of WinZip generate ZIP
files that can't be decompressed (or decrypted) by InfoZip's Unzip, but
I'm fairly certain that Unzip wouldn't return this error message as a
result.  The "central directory" should still exist in the ZIP file.

Regards
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223091125.GA4899>