多个文件上传,如gmail [英] Multiple file upload like gmail

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

问题描述

亲爱的先生/妈妈





如何上传多个文件,如gmail,只上传特定的扩展文件,如.doc,。 pdf.Only有效的文件应上传和休息显示为消息不是有效的文件。我如何在我的asp.net应用程序中执行此操作。



请帮助...





感谢你


Sanjay Gupta

解决方案

gmail使用ajax上传文件。您可能想要查找可以处理多个文件的ajax文件上传器,例如这个没有进度条的文件



http://webdeveloperplus.com/jquery/ajax-multiple-file-upload-form-using-jquery/ [< a href =http://webdeveloperplus.com/jquery/ajax-multiple-file-upload-form-using-jquery/target =_ blanktitle =New Window> ^ ]



或类似这样的进度条



http://webdeveloperplus.com/jquery/multiple-file-upload-with-progress-bar-using-jquery/ [ ^ ]


除了Yusuf的回答,您可能还想检查这些链接:



ASP>像Gmail一样上传Net Flle [ ^ ]



多个文件上传进度条使用Flash和ASP.NET [ ^ ]



祝你好运。


上传队列中删除文件的多段文件上传 - JSFiddle [ ^ ]

Dear Sir/Mam


How can i upload multiple file like gmail and upload only specific extension file like .doc,.pdf.Only valid file should be uploaded and rest show as a message is not a valid file.How can i do this in my asp.net application.

Please Help...


Thanking You

Sanjay Gupta

解决方案

gmail uses ajax to upload the files. You may want to look for ajax file uploader that can handle multiple file, such as this one with out progress bar

http://webdeveloperplus.com/jquery/ajax-multiple-file-upload-form-using-jquery/[^]

or something like this one with progress bar

http://webdeveloperplus.com/jquery/multiple-file-upload-with-progress-bar-using-jquery/[^]


In addition to Yusuf's answer you might want to check these links as well:

ASP>Net FIle upload like Gmail[^]

Multiple File Upload With Progress Bar Using Flash and ASP.NET[^]

Good luck.


Multiple sectioned file upload with remove file from upload queue - JSFiddle[^]


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

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