Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi Everyone,

I have requirement where user can upload files from a Page (file size could be 50 MB or more). With normal upload or ajax upload its going to take time when file size is bigger.

Is there any way, that once a file is selected, the uploading goes in background and user can browse multiple pages or any other pages.

and when the uploading completes in background notification appears or an event is fired.

Can anyone help with this ??

Thanks
Posted

1 solution

Hi,

Solution for Problem 1.

XML
<system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="SIZE IN KB"/>
            </requestFiltering>
        </security>
</system.webServer>



Solution for Problem 2 & 3.

ASP.NET File Upload with Progress Bar[^]
 
Share this answer
 
Comments
Krunal Berawala 14-Dec-12 0:47am    
1) First thing i dont want to restrict any size, allow to upload in GB as well.
for digital asset management.

No 2 solution shows the progress, but will it continue to upload If I browse to another page from the start upload page ??
Suvabrata Roy 14-Dec-12 1:08am    
try this,
http://www.strathweb.com/2012/08/a-guide-to-asynchronous-file-uploads-in-asp-net-web-api-rtm/
Basic Of File uploading
http://i1.asp.net/asp.net/files/DataTutorials/datatutorial54cs.pdf?cdn_id=2011-01-04-001

http://www.asp.net/web-pages/tutorials/files,-images,-and-media/working-with-files
http://msdn.microsoft.com/en-us/library/aa479405.aspx
Tech Code Freak 14-Dec-12 1:47am    
Excellent links! 5up!

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