如何上传50 Mb及以上的视频文件 [英] How Do I Upload Video Files Of 50 Mb And Above
问题描述
我想允许我的ASP.NET网站的用户上传50 MB或更高内容长度的视频。我的代码很简单,有一个fileupload和一个按钮,后面的代码有一个简单的代码Filupload1.SaveAs(fullpath)。我已尝试在我的网页中增加maxRequestLength,但它只需要int32值,但文件大小更大。
如何将maxRequestLength增加到更高的值(50 mb)或更多)或是否有任何其他方法来上传内容较长的视频文件。
感谢您的帮助
I want to allow the users of my ASP.NET site to upload videos of 50 mb or even higher content length. My code is simple with a fileupload and a button and code behind has the simple code of Filupload1.SaveAs(fullpath). I have tried increasing the maxRequestLength in my web page but it takes only int32 values but file size is bigger.
How can I increase the maxRequestLength to higher values (50 mb or more) or is there any other method to upload video files with higher content length.
Thanks for help
推荐答案
读取 - ASP.NET中的大文件上传 [ ^ ]
设置Web.config到允许ASP .NET应用程序上传大文件 [ ^ ]
这篇关于如何上传50 Mb及以上的视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!