如何使用C#code visual studio 2015上传4gb视频 [英] How to upload 4gb video using C# code visual studio 2015
问题描述
当我尝试上传更多1gb
System.IO.IOException:磁盘空间不足。
我尝试过:
将代码写入web.config
< httpRuntime targetFramework =4.5。 2maxRequestLength =2097151/>
< security>
< requestfiltering>
< requestLimits maxAllowedContentLength =2097151000/>
按钮点击显示
System.IO.IOException:磁盘上没有足够的空间。
但它没有点击按钮点击事件
when i try to upload more then 1gb
System.IO.IOException: There is not enough space on the disk.
What I have tried:
write code into web.config
<httpRuntime targetFramework="4.5.2" maxRequestLength="2097151" />
<security>
<requestfiltering>
<requestLimits maxAllowedContentLength="2097151000" />
button click show
System.IO.IOException: There is not enough space on the disk.
but it not hit button click event
推荐答案
那么,如果有足够的
那么,如果磁盘上有足够的空间你要将文件上传到?
So, if there enough space on the disk you're uploading the file to?
这篇关于如何使用C#code visual studio 2015上传4gb视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!