ASP的问题.见了鬼了

来源:百度知道 编辑:UC知道 时间:2024/05/17 01:57:00
有一个网站,调试时正常,打算做一些修改,怕改坏了不能恢复,就复制了一个进行改,可复制完就的功能就不能正常工作了,提示:

错误类型:
Microsoft VBScript 运行时错误 (0x800A01B6)
对象不支持此属性或方法: 'file'
/3333/include/upload.asp, 第 20 行

语句在原件上都没问题,就是不能复制改动,为什么啊?

<!--#include file="../include/upload_inc.asp"-->
<%
dim FinUp,EndName
FinUp=request.QueryString("FinUp")
EndName=request.QueryString("upimage")
if FinUp="begin" then
set upload=new upload_5xsoft
set file=upload.file("file")
upfilename= split(file.filename,".")
upfileext = upfilename(ubound(upfilename))
if lcase (upfileext)<>"jpg" and lcase(upfileext)<>"gif" and lcase(upfileext)<>"bmp" then
response.write "错误:上传文件的格式不对!<a href='javascript:history.go(-1)'><b>退回上一步</b></a>"
response.End
end if
ufp="sf_"&year(now)&mo

<!--#include file="../include/upload_inc.asp"-->
包含文件路径错误

不调试谁看得出来?
厉害!

给个参考地址给你:
http://www.80diy.com/home/20050623/10/4101065.html

拷贝的路径没错吧?