且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Asp.net MVC 4中上传多个文件?

更新时间:2023-02-24 22:46:43

这个怎么样: MVC中的多文件上载 [ ^ ]



问题是:在一个http帖子中上传多个文件或上传多个文件并行?对于第一种方案,您必须考虑IIS中的http请求限制和内容限制。如果你想要并行性或进度条,那么任务就有点复杂了。检查这个 [ ^ ]例如。使用HTML5,您可以更进一步,请参阅此处 [ ^ ]

Hii,

MVC 4 Experts need your help.
I am new to Asp.net MVC4 , i want to upload multiple files at server in my application, i am able to upload single file. Will be greatful if you could share any article link.

What about this one: Multiple File Upload in MVC[^]

Bu the question is: upload multiple files in one http post or upload multiple files in parallel? For the first scenario, you have to consider the http request limit and the content limit in IIS. If you want parallelism or progress bar, than the task is somehow complicated. Check this[^] for example. With HTML5 you can go even further, see here[^].