如何在Asp.net MVC 4中上传多个文件? [英] How to Upload Multiple Files in Asp.net MVC 4?

查看:105
本文介绍了如何在Asp.net MVC 4中上传多个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii,



MVC 4专家需要你的帮助。

我是Asp.net MVC4的新手,我想上传多个我的应用程序中的服务器上的文件,我能够上传单个文件。如果你可以分享任何文章链接,那将会很棒。

解决方案

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



问题是:在一个http帖子中上传多个文件或上传多个文件并行?对于第一种方案,您必须考虑IIS中的http请求限制和内容限制。如果你想要并行性或进度条,那么任务就有点复杂了。检查这个 [ ^ ]例如。使用HTML5,您可以更进一步,请参阅此处 [< a href =http://stackoverflow.com/questions/166221/how-can-i-upload-files-asynchronously-with-jquerytarget =_ blanktitle =New Window> ^ ]

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[^].


这篇关于如何在Asp.net MVC 4中上传多个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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