Hi all, I'm trying to iterate through files in a folder contained in a network share, using ASP. Here's my code:
I get a "Path Not Found" error on the last line. I know the path exists, because I can response.write it, copy and paste it into Explorer, and it opens just fine on my machine. Is my syntax wrong, or is it not possible to connect to this network share for some reason? Thanks!
Code:
Dim objFSO, objFolder, strFolder
Set objFSO = server.CreateObject("Scripting.FileSystemObject")
strFolder = "\\hif-fslgnt1\logon$\Tracking data\Logon\Users\" & (rsEmployees.Fields.Item("AliasName").Value) & "\"
Set objFolder = objFSO.GetFolder(strFolder)