i did that with filesize(), curl_getinfo() (before dl start), and with html5 <progress>