Configuring maximum size of upload

The default value for uploading binary files via WebDAV is 4MB (this is an IIS setting). To increase the size limit for uploading binaries via WebDAV you need to adjust the web.config file for WebDAV.

Procedure

  1. Open the WebDAV web.config configuration file, located by default in Tridion\webdav folder, in a text editor.
  2. Find or create a section called <httpRuntime> in the <system.web> section, and give it an attribute called maxRequestLength, set to the number of bytes you want to set as your maximum. For example, to raise the 4 MB limit to 200 MB, ensure the presence of the following element:
    <httpRuntime maxRequestLength="209715200"/>
  3. In the <system.webServer> section, find or add a <security> section and inside it, find or add a <requestFiltering> section. Again inside this element, insert a requestLimits element with a maxAllowedContentLength attribute set to your maximum upload size in bytes. For example, the following fragment again sets the maximum to 200 MB:
    <system.webServer>
      <security>
        <requestFiltering>
          <requestLimits maxAllowedContentLength="209715200"/>
        </requestFiltering>
      </security>
    </system.webServer>
  4. Close the web.config file.