用ASP实现对Oracle数据库的 *** 作

用ASP实现对Oracle数据库的 *** 作,第1张

应该先判断文件夹是否存在 接着保存文件
set oFso=ServerCreateObject("ScriptingFileSystemObject")
sPath=ServerMapPath(S_UploadDir&"/"&Year(Now())&"-"&Month(Now())&"-"&Day(Now()))
if oFsoFolderExists(sPath)=false then
call oFsoCreateFolder(sPath)
end if
oFileSaveToFile sPath&"/"&sSaveFileName


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/12631570.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-26
下一篇 2023-05-26

发表评论

登录后才能评论

评论列表(0条)

保存