'函数作用:获取文件大小
function getfilesize(filename)
'判断文件名是不是为空
if filename="" then
getfilesize="0kb"
exit function
end if
dim ofso,ofile,sfile
sfile=filename
set ofso=server.createobject("scripting.filesystemobject")
'判断获取文件大小的文件是否存在
if ofso.fileexists(server.mappath(sfile)) then
set ofile=ofso.getfile(server.mappath(sfile))
'判断获取文件大小
getfilesize= cstr( cdbl( formatnumber( ofile.size / 1024))) & "kb"
else
getfilesize="0kb"
exit function
end if
set ofile=nothing
set ofso=nothing
end function
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享