1
<%
virtPath = "\\mnbv00ww7044832\central engineer\OH\OSP Engineering\ATHN\2011"
''#virtPath = "C:\central engineer\OH\OSP Engineering\ATHN\2011"
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.FolderExists(virtPath) then
response.write(virtPath & " exits !!!")
else
response.write(virtPath & "does not exist")
end if
set fs=nothing
%>
根据此代码文件夹存在时,我给路径为C:...,但它显示该文件夹不存在,当我尝试通过计算机名称访问它。我尝试了几乎所有我能想到的,但出于某种原因,我无法找到解决方案。基本上我需要访问另一台计算机上的文件夹。文件路径到服务器经典asp
感谢 聂
尝试将该文件夹映射为网络驱动器,例如'Z:'然后通过该文件夹给予IUSR帐户适当的权限。 – 2012-08-19 06:46:54