Re: Download time
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 23 Nov 2000 17:23:25 +0000 |
| Subject: | Re: Download time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26845@lists.php.net to get a copy of this message | ||
On Thu, 23 Nov 2000, Luigi Di Leo wrote:
> Hello list.
> Has anyone already written any line to calculate the time needed to download
> a file at different connection rate?
>
> Thank you very much for your help.
>
> Luigi Di Leo
>
time(s)=size(B)/speed(B/s)
Note that those ar bytes, not bits. With bits, if it's a pure digital
connection you divide speed by 8 to find bytes. With an analog modem
connection, divide by 10 instead.
Also, remember that this will give you an ideal estimate. Other factors (e.g.,
latency, traffic, etc.) come into play on a real network.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>