![](/img/trans.png)
[英]WebClient throw 'An exception occurred during WebClient request'
[英]Getting “An exception occurred during a WebClient request” while download the large file using webclient
在c#中使用webclient下载4.5GB大小的文本文件时遇到上述错误。
WebClient wc = new WebClient();
wc.DownloadFile(DownloadFromURIpath, DownloadTOPath);
我将文件分成两半,现在下载成功。导入3 GB以上的文件似乎存在问题。
webclient下载文件有限制吗? 有人知道是什么原因造成的吗?
谢谢,Kavin.S
尝试wc.DownloadFileAsync()
或遵循此处提到的内容
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.