#1
|
|||
|
|||
client ip variable ?
Is there a variable for the clientip (client running securecrt) ?
I'm curently using : crt.Screen.Send "copy running-config tftp://192.168.1.100/config.txt" & vbCr But I want to get the ip (192.168.1.100) from the client which is running securecrt. |
#2
|
|||
|
|||
Hello ddx,
There is a property available to the 'Session Object' that can accomplish your objective. If you change your "crt.Screen.Send" command to the following, what are the results? Code:
crt.Screen.Send "copy running-config tftp://" & crt.session.LocalAddress & "/config.txt" & vbCr
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Brenda,
This works. Thnx. Stephan |
#4
|
|||
|
|||
Hi Stephan,
Excellent, thanks for posting your results here.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|