Implementing your example with my code, where @lines is changed to @resp, and where I remove the $CRLF from the lines going into the array, results in the following two errors in the log file, and the browser gives an Internal Server Error.
...AH01215: Wide character in IO::Compress::Zip::write...
...malformed header from script '___.pl': Bad header: PK\x03\x04\x14,...
In this case, the file will very likely change every time it is downloaded, as the database is regularly updated. I experimented earlier on multiple downloads during a time when I knew that no one was logged in to the database to make changes, but ordinarily change may be expected. That means, if I could get a direct download like you suggest to work, it would be a perfect solution in this case.
In reply to Re^2: Correct Perl settings for sending zipfile to browser
by Anonymous Monk
in thread Correct Perl settings for sending zipfile to browser
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |