The maximums are different units, strangely - one is kilobytes, and the other is bytes!
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<!-- This value is in **kilobytes** -->
<!-- http://stackoverflow.com/questions/4548305/maximum-value-of-maxrequestlength (See the answer by Petr - not the accepted answer) -->
<!-- 2097151 kilobytes = 2.09715 GB --><httpRuntime executionTimeout="1200" maxRequestLength="2097151" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<!-- This is the value in **bytes** -->
<!-- 524288000 bytes = 500MB -->
<!-- The maximum for this is 4,294,967,295 (3.99GB) - http://stackoverflow.com/questions/4022434/-->
<requestLimits maxAllowedContentLength="524288000" />
</requestFiltering>
</security>
</system.webServer>
</configuration>
I'm not sure about the maximum timeout for the polling. However, in addition to the web.config
settings above, you may also need to add a MaxSize
attribute to the HTTPSReceiver
element in your cd_deployer_conf.xml
configuration file:
< HTTPSReceiver MaxSize="2147483648" Location="C:\Program Files\Tridion\incoming" InProcessDeploy="true"/ >
(Reference: http://tridion.kb.sdl.com/#tab:homeTab:crumb:7:artId:4065)