大文件上传到ASP.NET MVC [英] Large File uploading to asp.net MVC

查看:403
本文介绍了大文件上传到ASP.NET MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一种方法来上传一个asp.net mvc的网站大文件(600 MB至4 GB)。
目前我使用的swfupload;它的作品不够好,但它是在Web服务器上一个巨大的打击,因为它发出它在一个大的上传,再加上我必须将其设置在web.config,让那巨大的文件,这是一个巨大的安全风险。在过去,当我在做网页形式的发展我用 Neatupload 该文件分解成块,并分别把他们上传。我正在寻找一种方式来上传大文件在MVC中,它通过分块它上传。我如何能做到这一点任何想法?

I need a way to upload large files (600 mb to 4 gb) in an asp.net mvc website. Currently I am using swfupload; it works well enough, but it is a huge hit on the webserver because it sends it in one big upload, plus I have to set it in the web.config to allow that huge of a file, which is a huge security risk. In the past when I was doing web forms development I used Neatupload which breaks up the file into chunks and uploads them individually. I am looking for a way to upload large files in mvc that uploads via chunking it up. Any ideas on how I could do this?

推荐答案

Silverlight的文件上传

这篇关于大文件上传到ASP.NET MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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