in reply to Re^2: CRC Error on ZIP Files
in thread CRC Error on ZIP Files

Perhaps it's a problem in your header. You specify the type (Ln 9)as 'application/octet-stream' but it should be 'application/zip'
(according to http://en.wikipedia.org/wiki/MIME_type#Type_application ... yes, I know that's not the authoritative source, but it'll do as a hint).

Come, let us reason together: Spirit of the Monastery

Replies are listed 'Best First'.
Re^4: CRC Error on ZIP Files
by SearchigPerl (Acolyte) on Mar 01, 2014 at 18:59 UTC
    Hi ww,
    thanks for your hint, I changed the code accordingly (although I believe to
    have understood that "octet-stream" would be valid for all formats).
    Yet with the altered code the problem remains.