insanebear Developer Van Poland Lid sedert Okt. 2014 insanebear 6 Sep. 2021 15:46 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 Van Sweden Lid sedert Mei 2013 tim 6 Sep. 2021 17:14 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 Van Poland Lid sedert Okt. 2014 insanebear 6 Sep. 2021 21:00 Ok - my bad! There was a notice on the top of file. Thanks!