scuttleButt
Programmer
I am working in asp pages with vbscript on Windows 2000 and I am trying to work with the code:
DIM objFSO, objFolder
SET objFSO = Server.CreateObject("Scripting.FileSystemObject")
SET objFolder = objFSO.GetFolder("\\servername\public\News\dep\depnews\")
It is working if server name is on the same physical machine and the asp page but not when I try to access another machine on the network.
Example, if my asp page is running on intranetserver and I copy the whole public folder onto that server then this works:
SET objFolder = objFSO.GetFolder("\\intranetserver\public\News\dep\")
if I leave the folder on servername so that people can put files in the folder I can't make this one work
SET objFolder = objFSO.GetFolder("\\servername\public\News\dep\")
I get the error: Microsoft VBScript runtime (0x800A004C)
Path not found
Any suggestions? Thanks.
DIM objFSO, objFolder
SET objFSO = Server.CreateObject("Scripting.FileSystemObject")
SET objFolder = objFSO.GetFolder("\\servername\public\News\dep\depnews\")
It is working if server name is on the same physical machine and the asp page but not when I try to access another machine on the network.
Example, if my asp page is running on intranetserver and I copy the whole public folder onto that server then this works:
SET objFolder = objFSO.GetFolder("\\intranetserver\public\News\dep\")
if I leave the folder on servername so that people can put files in the folder I can't make this one work
SET objFolder = objFSO.GetFolder("\\servername\public\News\dep\")
I get the error: Microsoft VBScript runtime (0x800A004C)
Path not found
Any suggestions? Thanks.