En üsteki kodlarım ;
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment;filename="Roosle.com-'.$adresz.'"');En alta (Ana kısım)curl_setopt($ch , CURLOPT_URL, $adres);
curl_setopt($ch, CURLOPT_FILE, $fh);
$fh = fopen($file, 'rb');
while (!feof($fh)) {
$buffer = fgets($fh, 4096);
echo $buffer;
usleep(100); // 2 M+ BW
}
$exec = curl_exec($ch);
curl_close($ch);
fclose($fh);
?>Acaba neden indirmeye başlayınca dosya boyutu bitince durmuyor ? bilgisi olan var mı ?