有没有办法以编程方式上传文件以测试上传速度 [英] Is there any way to upload file programatically to test upload speed

查看:104
本文介绍了有没有办法以编程方式上传文件以测试上传速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想检查我的互联网连接的上传和下载速度,我想从我的服务器下载文件并以编程方式上传文件(即没有用户干预)。我可以使用http请求下载文件,但我想上传一个我不想要任何用户界面的文件。请告诉我是否可以通过任何方式上传我的服务器。



Regds

SNI

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

推荐答案

当然,但这取决于您的平台,语言和其他细节。例如,你可以使用它:

http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx [ ^ ],

或者: http:/ /msdn.microsoft.com/en-us/library/system.net.http.httpclient%28v=vs.110%29.aspx [ ^ ]。



-SA
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


看这里: http://danielmuller.asia/2012/12/network-speed-testing/ [ ^ ]。但请尝试这样做: http://speedof.me/ [ ^ ]。
Look here: http://danielmuller.asia/2012/12/network-speed-testing/[^]. But try this too: http://speedof.me/[^].


这篇关于有没有办法以编程方式上传文件以测试上传速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆