I found the issue
In IIS if I go to REQUEST FILTERING → EDIT FEATURE SETTINGS and I change the MAXIMUM ALLOWED CONENT LENGTH to 400000000 bytes it will add a setting to my web.config file
<security>
<requestFiltering allowDoubleEscaping="true" removeServerHeader="true">
<requestLimits maxAllowedContentLength="400000000" />
</requestFiltering>
</security>
In ACF that’s all you need and it works from the IIS side, although I also have to go into the ACF administrator - SETTINGS → and adjust Maximum size of post data to match
Now, in Lucee, that does not work.
The solution is to add another entry into the web.config
<system.web>
<httpRuntime maxRequestLength="390625" /> <!-- Set the value in kilobytes -->
</system.web>
I could not find any way to get IIS to add this entry from its GUI, I had to manually add it, so I’m not 100% sure if it will be removed if I change anything using the GUI that changes the web.config, I’ll need to test that.
Anyway, once that extra line was added in, IIS now accepts the large file sizes.