When a user receives the attachment in Lotus Notes4.6.x, and chooses the
View Attachment option, the system returns the following error message:-
The file is corrupt.
Is there some deviation from the .ZIP file standard by Sun. I have tried
this using both JDK1.1.7 on Linux, and JDK1.2.2 on Win9X/NT and Linux - both
result in the same problem. If I create a file using WinZip or PKZIP, Lotus
Notes does not have a problem with the file at all.
Any suggestions?
The zip format used in Java is intended to be absolutely the
standard zip format.
Can you use a binary dump program to see where the difference is?
Can you use that to try to boil it down into the simplest example that
fails? Also check for bugs at the JDC site (address in Java FAQ).
Please report back what you find, this looks interesting.
The Java FAQ is at
http://www.afu.com
Now, if I was a betting man, I'd have my money on Sun either doing something
funny. Will check the JDC.
regards
"Peter van der Linden" <pv...@best.com> wrote in message
news:392aa0ff$0$2...@nntp1.ba.best.com...
>I have zipped a sinlge 2KB file using both methods, and there is a
>difference. However, even using the basic no frills options in all other
>programs, I cannot put my finger on the reason for this.
Maybe you can make that ZIP archive created from your Java app
available for download via HTTP?! I would take a look at it.
There usually is a small difference in ZIP archives created by
different programs (or with different compression ratio settings).
Regards,
Marco