如果我之前上传过,我想检查文件。如果文件存在,我想用不同的名称上传。这个怎么做?
on error resume next
Set Upload = New FreeASPUpload
<!-- Upload.OverwriteFiles = False-->
Upload.Save(UploadPathValue)
if err <> 0 then
Response.Write(err.description)
end if
如果我之前上传过,我想检查文件。如果文件存在,我想用不同的名称上传。这个怎么做?
on error resume next
Set Upload = New FreeASPUpload
<!-- Upload.OverwriteFiles = False-->
Upload.Save(UploadPathValue)
if err <> 0 then
Response.Write(err.description)
end if