client upload and download speed

What is the best method to check client upload and download speed?
To make it clear, default page is on the server and client needs to open it and run the test.
LVL 10
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

write an activex that downloads and uploads a reasonable amount (depending on the connection type selected by the user eventually) and calculate an average based on that
aki4uAuthor Commented:
What about Javascript?
from javascript you could do the download and time it (not high precision but reasonable) but there is no way you will be able to do an upload without user interaction, and that's already messy (you can't ask the user "browse for a file 100k large and then hit the upload button").
you might try to implement some remote scripting and make some async calls to a webservice and pass some generated XML to test, but in order to get a decent estimate you would need a large amount that would create performance issues in javascript. So I guess the solution is to stick with the activex (or java applet if you fency, or even .NET control if you assume all users will have .NET framework installed).
You might be able to find such an activex available for free, but none that I am aware of.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.