Shortcut to calculate time for data transfer?

Not a typo. Midnight is 00:00:00. If you adjust that in seconds, it’ll give you hh:mm:ss format for duration instead of just seconds.

  1. Get the current time.
  2. Upload a test file of known small-ish size to your final destination.
  3. Get current time.
  4. Calculate the time difference.
  5. Calculate the upload transfer rate.
  6. Get current time.
  7. Download the test file.
  8. Get the current time.
  9. Calculate the time difference.
  10. Calculate the download transfer rate.
  11. Remove the Test file from the destination.
  12. Get size of actual file to be uploaded/downloaded and retained.
  13. Calculate upload/download duration for actual file based on earlier rates.

Particular routers and firewalls may have options to maintain a throughput log, so if you were using something like pfSense, you might have some alternative options that you could base on historical data speeds if you could find a way to periodically generate a log and then aggregate the details to give you an idea of an estimated speed/data rate.

1 Like