Large files upload

By default, the maximum size of a file that can be uploaded in Sitecore is 16 mb. In standard .net it is 4 mb. How did Sitecore achieve this difference?

Easy. The maximum size (or the maximum request length) is defined in the web.config. Look at the bottom of your web.config:

<system.web>
  <httpRuntime maxRequestLength="16384" executionTimeout="600" />
</system.web>

Altering the maxRequestLength will alter the upload size. The number defines how many kliobytes can be sent.

Advertisements

About briancaos

Developer at Pentia A/S since 2003. Have developed Web Applications using Sitecore Since Sitecore 4.1.
This entry was posted in General .NET and tagged . Bookmark the permalink.

One Response to Large files upload

  1. Praky says:

    hi.. would it have any affect on the performance of the page loading the video if we upload media of ~ 100 MB?

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.