
Track progress every 10% if 100kb < filesize < 1mb. For larger
files track progress for every percent transmitted.
Returns:
the percent that the file is of the total
Parameters:
-
filesize - the size of the file been transmitted
-
totalLength - the total transmission size
-
percentTransmitted - the current percent transmitted