Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote computer name
Message
De
08/09/1999 23:08:25
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Titre:
Remote computer name
Divers
Thread ID:
00262719
Message ID:
00262719
Vues:
48
Hi! I would like to seek your help on how i can get the computer name of my remote users. One of the menu of my system is to create a text file in the user's local drive. My codes are:

<%
filen = request.form("filen")
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\" & filen & ".txt", True)
%>

But this codes created a text file in the server's local drive instead of the user's local drive.
I tried using the code: Request.ServerVariables("remote_addr") so that I can get the IP address of the user. I shared one folder in drive C of the user. I use the IP address instead of the computer name to make a path to the user's PC but it did not work. It can't find the PC. Thanks in advance.
Répondre
Fil
Voir

Click here to load this message in the networking platform