Problem opening a downloaded zip file in winzip 9.0
We are using ZipOutputStream for downloading a zip file. Iam having problems in opening this zip file in winzip 9.0 but the same fiel opens fine in winzip 8.0.
But when i write the same file using FileOutputStream and ZipOutputStream into the server that file opens fine in Winzip 9.0.
The error iam getting is "Start of central directory not found:zip file corrupt.
Possible cause: File transfer error"
When i try to fix the problem using the Winzip command line Add-ON
it fixes the problem by saying the file has "extra 12 bytes at beginning of the file"
What could be the reason for having this extra 12 bytes only when i do a download but not when i write it into a file.
Please help me if you have any information on this
Is this a good question?