Click here to Skip to main content
15,894,314 members
Please Sign up or sign in to vote.
1.70/5 (3 votes)
See more:
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
Posted
Updated 24-Sep-18 19:14pm

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/[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Feb-11 17:11pm    
5 for good information; as to the problem it looks like it is about invalid files, is you want to look at my Answer.
--SA
MCY 20-Feb-11 17:32pm    
nice links.
RaviRanjanKr 1-Dec-11 15:35pm    
Nice Link, My 5+
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.
 
Share this answer
 
Comments
RaviRanjanKr 1-Dec-11 15:34pm    
My 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900