BBS: Inland Empire Archive
Date: 06-11-93 (16:59) Number: 253
From: DICK DENNISON Refer#: NONE
To: EVANS MARTIN Recvd: NO
Subj: Re: Transfer Times. Conf: (2) Quik_Bas
EM> Can any one help me out with a communications problem?
EM> I need to know what formula to use to determine how long it will take
EM> transfer file x at ay given baud rate. I am writing a door that needs
EM> to check if the user has enough time remaining to download file x.
This is what I use:
FUNCTION calcdl% (filesize&)
SELECT CASE baud$
CASE IS = "9600"
divisor% = 1600
CASE IS = "2400"
divisor% = 230
CASE IS = "1200"
divisor% = 120
CASE IS = "300"
divisor% = 30
END SELECT
calcdl% = filesize& \ divisor%
END FUNCTION
$$
---
* Origin: The Restaurant -*- Dialout HQ * Masquerade Beta
* GEcho (1:161/142)