///验证单个文件不能超过30M function onChangeFile() { ///定义布尔类型的返回结果,初始值为false(默认不超过30M) var sResult = false; ///获得并计算附件大小 var fso = new ActiveXObject("Scripting.FileSystemObject"); var fileObj = fso.GetFile(AttachForm.upFile.value); var filesize = (fileOb…
Server Error 404 – File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. 用户上传一个大小大约为160MB的文件至服务器出现这个错误.Insus.NET把上传文件于本机测试没有问题.但上传至服务器时,这个错误产生了. 本地可以,服务器却Error.可以肯定…