System.Net.Http.HttpRequestException:无法将超出配置的最大缓冲区大小的更多字节写入缓冲区:2147483647 [英] System.Net.Http.HttpRequestException: Cannot write more bytes to the buffer than the configured maximum buffer size: 2147483647
本文介绍了System.Net.Http.HttpRequestException:无法将超出配置的最大缓冲区大小的更多字节写入缓冲区:2147483647的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在从远程服务器下载文件.该文件的大小超过2GB.我通过调用来请求文件
I am downloading a file from a remote server. The file is more than 2GB in size. I am requesting the file by calling
await _client.SendAsync(message, HttpCompletionOption.ResponseHeadersRead);
但是,该调用引发了以上异常.
However, the call is throwing the above exception.
如何下载2GB以上的文件?
How can I download a file > 2GB?
推荐答案
您的问题与下一页非常相似.
Your problem is very similar with following page.
希望这对您有用.
这篇关于System.Net.Http.HttpRequestException:无法将超出配置的最大缓冲区大小的更多字节写入缓冲区:2147483647的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文