insanebear Developer From Poland Member since Oct 2014 insanebear Sep 6 2021 03:46 PM On some servers files downloaded with this addon are corrupted. Both file sizes (the good one and corrupted one) are the same. After commenting the line below, the problem disappears. header('Content-Length: ' . filesize($src)); But this is short time solution. There is no errors in log file.
tim Founder From Sweden Member since May 2013 tim Sep 6 2021 05:14 PM Can you open the corrupted file and see if there is any other output in it? Like HMTL notices, or errors? In that case this might be helpful: $fh = fopen($src, 'r'); while ($buffer = fread($fh, 1024)) echo $buffer; fclose($fh);```
insanebear Developer From Poland Member since Oct 2014 insanebear Sep 6 2021 09:00 PM Ok - my bad! There was a notice on the top of file. Thanks!