![](/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.