最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
ASPUpload上传的实现代码(测试通过)4
时间:2022-06-30 11:15:52 编辑:袖梨 来源:一聚教程网
uploadfile.asp
On Error Resume Next
Server.ScriptTimeOut=999999
if request("act")="upload" then
dim folder,savepath
savepath=Server.MapPath(UploadFilePath)
CreateFolder(savepath)
Set Upload=Server.CreateObject("Persits.Upload")
Upload.SetMaxSize UploadLimitSize*1024, True
Upload.OverwriteFiles = false
if Request.QueryString("PID") = "" then
Upload.ProgressID="010D60EB00C5AA4B"
else
Upload.ProgressID=Request.QueryString("PID")
end if
Count=Upload.Save(savepath)
If Err.Number 0 Then
Response.Write "
相关文章
- 蚂蚁森林神奇海洋2026年4月20日答案 05-15
- 胖折叠的终极形态 华为Pura X Max上手评测 05-15
- 2026年4月将从Xbox Game Pass库中移除的所有游戏 05-15
- 《Pragmata》首发销量突破100万份 为全新单机IP注入希望 05-15
- 《Pragmata》两天内销量突破一百万份 05-15
- DNF奇美拉技能链设置推荐 05-15