Large File uploading to asp.net MVC

后端 未结 4 504
囚心锁ツ
囚心锁ツ 2020-12-12 17:59

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 b

4条回答
  •  青春惊慌失措
    2020-12-12 18:15

    I ended up using Darren Johnstone's ASP.NET File Upload Module to handle the uploading on the server side. Though I modified it slightly so that it could take a guid on the querystring that it would save the temp file to that guid name.

    It was nice because it saved the file as it arrived at the server, and stripped the file out of the posted data which it then sends to the action on the controller that was specified.

提交回复
热议问题