Greetings,
I'm new to ASP and would like some advice. I'm trying to list the directory contents of a network directory on my website. Doing some research on the web, I found a tutorial here:
http://www.asp101.com/samples/dir_list.asp
Unfortunately, this only works with listing contents for directories on the local machine. Then I found this page that tells me I need to make sure the anonymous account on the remote computer matches up with the account my webserver is using to access that remote directory:
http://www.4guysfromrolla.com/webtec...ect/faq6.shtml
I followed the link within that page to an MS support page (
http://support.microsoft.com/default...b;EN-US;197964) to find that this solution is for an NT4.0 network environment.
We're running Active Directory. Is it possible for me to access and display a remote directory listing within an Active Directory network?
Here's part of my code (basically taken from asp101.com's site):
<%
Dim strPath
Dim objFSO
Dim objFolder
Dim objItem
strPath = "\\hamster\Inetpub\wwwroot\Intranet\operations\ops _memo\"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(strPath)
%>
Many thanks,
-long
[email protected]