Page 1 of 1

regarding keep track file size

Posted: Sun Aug 29, 2004 4:19 am
by mahadzar81
i want to develop application to generate report to keeptrack how many bytes of file that has successfully download from server..in PHP command..any idea???

Posted: Sun Aug 29, 2004 10:35 am
by feyd
there is no 1 command to do this. You'd need to build it on your own, generally. That's if you are fetching the file yourself.

Posted: Mon Aug 30, 2004 1:56 am
by Christopher
If I understand you correctly, you could check the filesize() of the file before downloading it and keep a running total.

Posted: Mon Aug 30, 2004 2:33 am
by feyd
that would only be possible, if you had two concurrent scripts doing this, or you were actually processing the download yourself.