Asp默认的上传文件大小限制是200K
默认情况下,使用Server.CreateObject("Scripting.FileSystemObject") 对象去上传文件超过默认的大小限制后,相关的文件后缀将会是个空,大小也会是0
如如何修改默认设置参考 http://www.banmanpro.com/support2/File_Upload_limits.asp
以下部分引用原文:
When trying to upload files over 200KB on IIS 6 the file may never upload and you either get an error or are sent to a blank screen. By default Windows 2003 server limits file uploads to about 200KB in size. To overcome this limit you must edit the IIS metabase.xml file.
To increase the file download size limit, repeat all steps above but in Step 3 find the parameter calledAspBufferingLimit. The default download limit is 4MB. |
【推荐】2025 HarmonyOS 鸿蒙创新赛正式启动,百万大奖等你挑战
【推荐】博客园的心动:当一群程序员决定开源共建一个真诚相亲平台
【推荐】开源 Linux 服务器运维管理面板 1Panel V2 版本正式发布
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步