Maximum file upload size using File Upload

we can upload only 4 Mb File using File upload control by default

and if we want to extend this file length

we should change

maxRequestLength=”4096″ which is by default 4 mb to some thing else   for example  i will change it to 1 Gb

like this

maxRequestLength=”1048576″

and the default file upload time is “90” seconds

in order to change it

executionTimeout=”90″ from this to

executionTimeout=”1200″ etc to make it as 20 mins

Note: in dotnet frame work 1.1 we can use max of 1 Gb file and for dotnet 2.0 we can increase file upload length to 2 Gb

Advertisements

About kakani santosh kumar

Working as Software Engineer in Prithvi Information Solutions having 3 years of Experience in Dotnet Framework ranging from 1.1 to 3.5
This entry was posted in Articles, Coding, Interview Questions. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s