Maximum Upload Size Settings
Information on how to change the default cap of upload size
Umbraco does not touch the default maximum allowed content size of the different services, but you can configure this yourself.
To configure the default 28.6MB upload limit using IIS, we have to create a web.config file at the root of the project. It should contain this:
<!-- ~ Below is the number of bytes allowed, 4GB is the maximum -->
<requestLimits maxAllowedContentLength="2000000" />
maxAllowedContentLengthis specified in bytes, so this configuration would limit requests, and therefore uploaded files, to 2 megabytes
Are you hosting your site on Umbraco Cloud?
Umbraco Cloud uses IIS for hosting. This means you need to add the setting in a
web.configfile for this to work on your Umbraco Cloud hosted sites.
Runtime settings allow you to configure the
MaxQueryStringLengthfor kestrel. If you want to upload files larger than 28.6MB, then you have to configure these settings. If nothing is configured requests and query strings can only be the default size and smaller.
An example of a configuration could look something like this:
MaxRequestLengthis specified in kilobytes, so this configuration would limit requests, and therefore uploaded files, to 2 megabytes, and a maximum query string length of 90 characters.