Dot net nuke file download

I am working on a nuke host for a client, they want to upload files of about 60 mb in size. I modified the web.config file to allow files up to 65 mb in size for the maneuver room only.

httpRuntime useFullyQualifiedRedirectUrl = "true" maxRequestLength = "66560" requestLengthDiskThreshold = "66560" executeTimeout = "1080000" / ">

this is the code in the web.config file. I personally tried mp3 files ranging in size from 40 to 60 mb, so no luck. The module will only download files of 28 MB or less. If this helps, we use the Live Content module.

The connection gets reset. it doesn't even reach the 18-minute timeout that I gave him, even if it is set only for a 3-minute timeout, I get the same error. Also, when downloading a file, it will reach 86%, and then it will reboot when it reaches 86% again, when it receives an error.

+3
source share
3 answers
<system.webServer>
<security>
  <requestFiltering>
    <requestLimits maxAllowedContentLength="2000000000" />
  </requestFiltering>
</security>

it’s actually fixed, the net nuke point is configured to download files up to 8 MB, iis is set only for files up to 30 MB in size. adding this code to the web.config file will allow you to upload files larger than 200 mb. using the i code indicated in my question will change the dnn load, but that will change iis.

+2
source
0

Source: https://habr.com/ru/post/1775032/


All Articles