View Single Post
  #5  
Old 01-03-2019, 09:47 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
Hi amy_itx_aps,

After taking a look at the script I don't see that you're capturing or using the path.

I see that you're using a Split to get the IP, Username, and Password but do not capture the file path.

Code:
equipmentInfo = Split(line)
ip = equipmentInfo(0)
uname = equipmentInfo(1)
pwd = equipmentInfo(2)
You may be able to get the path using similar code.

Code:
path = equipmentInfo(3)
Towards the end of the script I see that you're connecting using ConnectInTab but the only other thing sent is an export TMOUT.

Code:
crt.session.ConnectInTab "/SSH2 /L "&uname&" /PASSWORD "&pwd&" "&ip

crt.Screen.Send "export TMOUT=86400" & chr(13)
crt.Screen.WaitForString "export TMOUT=86400"
Did you want to change directories before or after sending the TMOUT?
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote