Hello All,
I'm trying to map client PC to a remote drive using ASP. The idea is when the user launches asp web page the drive gets mapped to user's computer if not already mapped. I've seen all the posts in this forum and tried many of the suggestions, but the best I could get to is to map the drive to the server. Any help would be greatly appreciated.
Here is the final version of my code that does not do anything:
I'm trying to map client PC to a remote drive using ASP. The idea is when the user launches asp web page the drive gets mapped to user's computer if not already mapped. I've seen all the posts in this forum and tried many of the suggestions, but the best I could get to is to map the drive to the server. Any help would be greatly appreciated.
Here is the final version of my code that does not do anything:
Code:
<%@ Language=VBScript %>
<%Option Explicit%>
<%
Dim objNetwork
On Error Resume Next
Set objNetwork = CreateObject("Wscript.Network")
objNetwork.RemoveNetworkDrive "Z:"
objNetwork.MapNetworkDrive "Z:","\\nymf1\dbm"
WScript.Quit
%>