I am writing a new application in which I need to get info about a network share using ASP. I am first trying FileSystemObject but keep getting an invalid procedure call or argument when I try the GetDrive method on the share. Here is the code I am using:
RS.Open "Select * from Storage", Application("Conn")
While Not RS.EOF
response.write RS("share")&": "&d.FreeSpace&"<BR>"
Set RS = Nothing
the value for RS("Share") is "\\10.1.11.5\Vol1$\data\public\NAS1". This has to work where network drives are not mapped. I can also specify a username/password combo for the share if necessary as the IUSER does not have access to the share, but the username/password is also stored in the DB. Please help!