What I want to do is measure broadband speed using c#.
To do this, I use NetworkInterface.BytesReceived
and BytesSent
to get the current amount of bytes sent and received from my network adapter and get the DateTime
.
Then I download/upload a file and get the BytesReceived
/BytesSent
and DateTime
again. The download/upload speed is just the the difference between the BytesReceived
/BytesSent
divided by the time difference.
Now I am wondering if there is a public FTP server where I can download and upload files.
Tele2 provides ftp://speedtest.tele2.net , you can log in as anonymous and upload anything to test your upload speed. For download testing they provide fixed size files, you can choose which fits best to your test.
You can connect with username of anonymous and any password (e.g. anonymous ). You can upload files to upload folder. You can't create new folder here. Your file is deleted immediately after successful upload.
Found here: http://speedtest.tele2.net/