Click here to Skip to main content
15,850,103 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi,

I want to check upload and download speed of my internet connection for which I want to download a file from my server and upload a file programatically (i.e. without user intervention). I am able to download a file using http request but I want to upload a file for which I do not want any user interface. Please let me know whether any ways by which we can upload file my server.

Regds
SNI
Posted

Of course, but it depends on your platform, language and other detail. For example, you can use this:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^],
or this: http://msdn.microsoft.com/en-us/library/system.net.http.httpclient%28v=vs.110%29.aspx[^].

—SA
 
Share this answer
 
 
Share this answer
 
Comments
Zoltán Zörgő 13-Nov-13 7:27am    
You want to test download speed without downloading? Downloading does not mean that you save anything on the client. Please check the code of the solutions I have posted to see how they work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900