I am having trouble in getting it to work so I tried to see the session log by doing:
Code: Select all
MessageModal>TELNET_SESSIONLOG
I am using V11 Pro.
This is my code, I have replaced passwords, etc with xxxx
Code: Select all
TelnetConnect>www.mydomain.com,23,hTN
TelnetWaitFor>hTN,login,8,r
TelnetSend>hTN,yuser%CR%
TelnetWaitFor>hTN,password,5,r
TelnetSend>hTN,xxxx%CR%
TelnetWaitFor>hTN,>,5,r
TelnetSend>hTN,cd sql%CR%
TelnetWaitFor>hTN,$,5,r
TelnetSend>hTN,mysql --database=asbo -u xxxn --password=xxxx --show-warnings <error>>temp.lis
TelnetWaitFor>hTN,$,600,r
TelnetSend>hTN,mysql --database=asbo -u xxxn --password=xxxx --show-warnings <output>>temp.lis
TelnetWaitFor>hTN,$,600,r
MessageModal>TELNET_SESSIONLOG
TelnetClose>hTN
Alan