Calculation of estimated to transfer a file

Does anyone of you here have any tips or code on how to do a estimation of a file transfer timing needed before the actual transfer start.kindly email me at gnoyee@gmail.com
[187 byte] By [CheeYonga] at [2007-10-3 5:06:13]
# 1

Yes, this requires 2 things:

1) File size must be known (add 27% for overhead)

2) Link must be charactorized

To give any real caulcuation of the link speed - which WILL vary.

Send a test packet of a known length and time the response (client/server needed). Doing this multiple times will give you the averange charactor.

Then take the file size and divide it by the link speed.

watertownjordana at 2007-7-14 23:12:10 > top of Java-index,Core,Core APIs...
# 2
Can i know how link speed can be calculated.
CheeYonga at 2007-7-14 23:12:10 > top of Java-index,Core,Core APIs...
# 3
Transfer a chunk of data with known size and see how long it takes
LRMKa at 2007-7-14 23:12:10 > top of Java-index,Core,Core APIs...