thanks for your reply !
Warnings seem to be disabled somehow, since I am not receiving any of these
when running the script. Yet I am aware of the fact, that I should use "strict".
I must admit that I did not get rid of the bad habit of not declaring my
variables throughout all these years ...
To reply to your question: I think (!) I am not using FTP, since I am offering
and sending the file through the recipients browser. For that I am switching binary
mode on. Here is the critical code of the prescript running the download.
sub download { use CGI; $html=new CGI; print $html->header(-type => 'application/octet-stream', -attachment = +> $_[1]); open($peunter, "<", $_[0].$_[1]); binmode($peunter); # while (read($pointer,$bytes,1024)) { # print $bytes; # } @data = <$peunter>; close($peunter); print "@data"; }
In reply to Re^2: CRC Error on ZIP Files
by SearchigPerl
in thread CRC Error on ZIP Files
by SearchigPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |