设置上传文件的最大大小
2008-04-24 06:22
465 查看
在web.config中添加httpRuntime元素,如下:
<configuration>
<system.web>
<httpRuntime maxRequestLength="8192"
useFullyQualifiedRedirectUrl="true"
executionTimeout="45"
versionHeader="1.1.4128"/>
</system.web>
</configuration>
其中maxRequestLength属性就是限制上传大小的,如设为"8192"即为8M。 http://pyt5208.cnblogs.com/archive/2006/07/10/446994.html
<configuration>
<system.web>
<httpRuntime maxRequestLength="8192"
useFullyQualifiedRedirectUrl="true"
executionTimeout="45"
versionHeader="1.1.4128"/>
</system.web>
</configuration>
其中maxRequestLength属性就是限制上传大小的,如设为"8192"即为8M。 http://pyt5208.cnblogs.com/archive/2006/07/10/446994.html
相关文章推荐
- 设置文件上传的最大大小
- 设置上传文件的最大大小
- 设置文件上传的最大大小
- 设置上传文件的最大大小
- 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
- 设置文件上传的最大大小
- ASP.NET技巧:FCKeditor设置上传文件大小的最大值
- iis7/7.5设置上传文件最大大小
- 设置IIS7文件上传的最大大小
- 设置上传文件的最大大小
- apache-tomcat-7 设置最大上传.war文件大小
- apache-tomcat-7 设置最大上传.war文件大小[zhuan]
- 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
- 设置文件上传的最大大小
- 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
- 使用FineUploader 上传大文件设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
- 设置上传文件的最大大小
- 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
- web.fonfig设置上传文件的最大大小
- 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength