file 控件对上传文件大小的限制

<input type="file" name="upload" />

使用此控件会限制文件大小最大上传4m

可在web.config中配置<httpRuntime    executionTimeout= "5400"  maxRequestLength= "2048000 " 文件大小  useFullyQualifiedRedirectUrl= "false "  />

原文地址:https://www.cnblogs.com/notebook2011/p/2729489.html