Measure client internet bandwidth

Hello everyone,

Does anyone knows how I can measure the internet bandwidth of the client?

My purpose is to be able, when the user logs in, in background, try to measure its internet speed and, this way, when the user wants to upload a file, estimate the time needed to upload it.

Any ideas?


Take a look at this example.
It's a javascript solution that you can use.

I hope this reflects your thoughts and is helpful for you.


Daniel Martins.