Hey all, I need to access a remote directory on another server within my domain using the File.System.Object. No matter what I do I cannot seem to get permission to this.
What have I tried.
1) Mapping a drive: I:\foldername
2) Using the full path \\SERVERNAME\sharename\foldername
3) Made sure the IUSER_SERVER has full rights to said directory.
Still I get nothing
Code Sample:
-------------------------------------------------------
Set Tools = Server.CreateObject("Scripting.FileSystemObject"
filevar = "I:\folder"
if Tools.FolderExists(filevar) then
I = 1
else
I = 0
end if
What have I tried.
1) Mapping a drive: I:\foldername
2) Using the full path \\SERVERNAME\sharename\foldername
3) Made sure the IUSER_SERVER has full rights to said directory.
Still I get nothing
Code Sample:
-------------------------------------------------------
Set Tools = Server.CreateObject("Scripting.FileSystemObject"
filevar = "I:\folder"
if Tools.FolderExists(filevar) then
I = 1
else
I = 0
end if