Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

showing folders/files on a network drive

Status
Not open for further replies.

EddieVenus

Technical User
Apr 8, 2002
176
US
I need help in making a page work that lists the folders on a network drive. The drive is mapped to the IIS server machine, and within IIS, although I do not trust the IIS map. The page is listing the folders on the drive, making them links that take the user into the folder where it then displays the restricted contents of the folder based on a file extension. For example right now I can do this on local drives and it will look into the C: drive show the folders, i.e. documents and settings, inetpub, program files, windows, etc. then if a user clicks the folder name they see the contents of that folder but only the contents they wish to see, i.e. if you selected EXE, and you clicked the windows folder you would only see the .exe files within the windows folder in the browser window. This was not hard to do using FileSystemObject, but for some reason I am having a problem going over the network shares and doing this. I have tried using the Windows mapped drive letter i.e. M:, i have tried using the UNC shared drive \\sharename, I have tried using the IIS map from \\sharename to 'mdrive' and then using mdrive/ and servermappath, but nothing seems to work. I just get the same error message of "path not found" pointing to the fso that points to this path. Please help me, as I cannot seem to find a reliable way to get this working. Thank you. P.s. you will get stars if you help me, if that matters to you or not, I do appreciate people who help those in need.
 
i do not want this post to fall into oblivion, I really do need an answer, so I am 'bumping' this post back to the top.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top