in reply to Correct Perl settings for sending zipfile to browser

The zip file printing code looks ok to me. You could do two 2 tests related to download if you haven't already ...

  1. make a zipfile available to be downloaded straight via a link (put under password if you want);
  2. extract the code that prints HTTP headers & the zipfile content in its own program; then just run that to download the file via browser prompt.

... after download, test if you can successfully extract contents.

  • Comment on Re: Correct Perl settings for sending zipfile to browser