File Upload and Request Size Limits


On shared hosting, a multipart file upload, such as a file upload form, can be up to 100 MB. Any other request body, such as a raw PUT request or a JSON post, can be up to 512 KB (524,288 bytes).

A larger request is refused with a '413 Request Entity Too Large' error. This comes from the web server's security layer, not from your application, so changing your application's own request limit will not help.

For uploads that are not multipart, such as a PUT request, use a chunked upload: send the file in pieces of 512 KB or less, each in its own request, and join them on the server. Most upload libraries can do this. If you set maxAllowedContentLength in your web.config, keep it at or below 100 MB (104857600 bytes), as anything larger is blocked anyway.

These limits are the same on all shared hosting servers and are not changed for individual websites. If you need larger requests, a Hyper-V virtual server gives you full control over IIS and its request limits.


Back To Hosting Knowledgebase Menu

Windows Dedicated and Hyper-V Servers

Fully managed or self-managed, from our own solar powered data centre.

Web Wiz® is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.

Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, €, prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz® Ltd. All rights reserved.