EddieVenus
Technical User
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.