[imp] Possible bug in Zip download function in IMP

Michael M Slusarz slusarz at horde.org
Sat Sep 30 21:27:09 PDT 2006


Quoting "P.V.Anthony" <anthony at sound.com.sg>:

> On this day, 01-October-2006 10:53 AM,  P.V.Anthony wrote:
>> Hi,
>>
>> I seem to notice a problem with the zip download feature in IMP for
>> attachments.
>>
>> When I unzip the file using 7zip from http://www.7zip.org, it says that
>> the file is not supported. When I unzip the file using WinZip it works
>> great.
>>
>> Next I compressed the files using WinZip then uncompressed it using  
>> 7zip and that works great.
>>
>> I am not a programmer so I am just assuming that maybe zipping  
>> class in IMP may have a small bug.
>>
>> I was hoping to use 7zip as it is a great app plus it is free.
>>
>> Any advise is much appreciated.
>>
>> P.V.Anthony
>>
>
> Found this at the http://www.7-zip.org/faq.html#user_faq
>
> --------------- start ----------------------------
>
> Why can't 7-Zip open some ZIP archives?
>
> In 99% of these cases it means that the archive contains incorrect  
> headers. ZIP archives contain two copies of headers. 7-Zip reads  
> both copies and won't open archives with incorrect data in the  
> headers. Other ZIP programs can open some archives with incorrect  
> headers, since these programs usually read only one copy of the  
> headers, or they just ignore errors.

Or, in other words, 7-zip is broken.  And if you don't believe me, run  
an archive test on a zip file created by Horde on any other program  
(e.g. zipinfo) and you will see there is absolutely nothing wrong.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the imp mailing list