如何使用C#code visual studio 2015上传4gb视频 [英] How to upload 4gb video using C# code visual studio 2015

查看:125
本文介绍了如何使用C#code visual studio 2015上传4gb视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试上传更多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屋!

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