Download 500 MB + file via ASP.NET web application

My web application allows authorized users to upload videos using ASP.NET WebForms FileUpload, which in the past was about 100-200 MB. I had to make some changes web.configso that files of this size could be downloaded.

However, authorized users now want to upload 500 MB + video files

The value is now maxAllowedContentLengthset to 629145600(600 MB).

However, when you upload a video after a while, the page answers:

Page not found

This only happens with large videos, so I know that this problem has something to do with file size.

Why is this happening? And also, should I really increase the limit to 500 MB +? Is there a better way to get such large files on a web server?

+5
source share
2 answers

Check out this Jon Galloway blog post, its a little old but still up-to-date:
Big file uploads in ASP.NET

His answers to your questions about:

  • Page not found
  • setting the correct maxAllowedContentLength

There are recommendations for various controls that you can use, both free and commercial.
I used flash control and it worked great.

Alternative Solution
Also provide an FTP zone for each user.
It allows users to:

  • ( )

, .

+3

, jQuery https://github.com/blueimp/jQuery-File-Upload/ .net mvc, .net . , ! , ~ 2 , .

+1

All Articles