I was testing the following example to upload a .zip file and found that the file is uploaded as 0kb and saved on desired location.
the upload works fine for other file types e.g text , image
But, I actually did hit that same wall at around 30mb. (I started this before Adam’s initial reply)
I also tried adding the security _ RequestFiltering section to web.config. It didn’t crash PSU, but it did not seem to allow larger uploads either - I can test more later.
i figured out the crashing issue, its because you have to use correct bytes value but the issue still the same after setting up the following in web.config
<security>
<requestFiltering>
<!-- This will handle requests up to 2000MB -->
<requestLimits maxAllowedContentLength="2097152000" />
</requestFiltering>
</security>
still the zip file uploaded as 0kb , a smaller size than 30mb uploaded fine but am trying with 600mb no success.
web.config is only used then hosted in IIS.
im pretty sure PU use Kestrel?
so I guess @adam need to support setting that somewhere.
the link also say that:
Hosted on IIS (with Kestrel or without Kestrel)
Web.config
Hosted on Kestrel (as standalone or with Ngnix and Apache server)
it will be good if we have these settings in the appsettings.json if possible also this component will be nice if it has the multi upload files feature rather than a single file.
but anyway any soon solution will be much appreciated
@McAndersDK
based on your link this module limit is 2GB so i dont think this module has anything to do with ~30+ MB file size unless am missing something here.
We’ve removed the server-side limit for this but I’m wondering if there is something we need to configure within the component itself. I think there is more work that may need to be done with this component to make it truly support large file uploads.