是这段代码有问题吗。。。。。。。。求解释咋改呢。。。。。谢谢(文件夹权限没问题,貌似是这个oldfilename这的问题,具体咋改求大侠)
Dim oldfilename, filearray, joinfile
set upload=new upload_5xsoft
set file=upload.file("images")
if file.fileName<>"" then
oldfilename =replace(replace(replace(cstr(now())," ",""),"-",""),":","") &"_"&file.FileName
if file.fileSize>0 and file.fileSize<1000000 then
file.saveAs Server.mappath("upload/"&oldfilename)
set file=nothing
response.Write("文件上传成功!")
你这段代码都没有使用到ADODB,怎么会报告这个错误?如果是这里报告的错误,那就有点奇怪了。