IIS下的大文件上傳web.config設置方法
2020-04-23
web.config文件,將maxAllowedContentLength的值改一下。
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1048576000"></requestLimits> </requestFiltering> </security> </system.webServer> </configuration
有些可能會涉及到網站后臺的限制,需要在后臺改限制。