Well it was part of a complex system but I've stripped out most logic to troubleshoot. I'm left with this:
Code:
Dim FileSys
Dim dirPath
Set FileSys = Server.CreateObject("Scripting.FileSystemObject")
dirPath= "\\computerName\wwwdocs\dir\dubdir"
Response.Write("dirPath " & dirPath & "<BR><BR>")
If FileSys.FolderExists(dirPath) Then
Response.Write("Folder exist : " & dirPath)
Else
Response.Write("Folder doesn't exist : " & dirPath)
End if
If I run this from one server, I get folder exist, however after copying it to another I get folder doesn't exist. Since I print the path in either case I've tried copy/paste of the output to the browser address and the folder does exist.
Kinda lost...thanks for the help.