Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote computer name
Message
From
08/09/1999 23:08:25
 
 
To
All
General information
Forum:
Visual Basic
Category:
VBScript
Title:
Remote computer name
Miscellaneous
Thread ID:
00262719
Message ID:
00262719
Views:
49
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.
Reply
Map
View

Click here to load this message in the networking platform