Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-09-2018, 06:01 PM
ribenaboy ribenaboy is offline
Registered User
 
Join Date: Jul 2018
Posts: 1
Syntax error

I get a syntax error running the code below
My securecrt version is 7.1.1. Does that matter?


Code:
crt.Screen.Synchronous = True

	# connect to host on port 23 (the default telnet port)
	#
	crt.Session.Connect("/TELNET login.myhost.com 23")

	crt.Screen.WaitForString("ogin:")
	crt.Screen.Send("myusername\r")

	crt.Screen.WaitForString("assword:")
	crt.Screen.Send("mypassword\r")

	crt.Screen.Synchronous = False
Reply With Quote
  #2  
Old 07-10-2018, 07:26 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,465
Hi ribenaboy,

I do not see any methods or properties being used that were not available in v7.1.1.

What is the error you are getting?
__________________
Thanks,
--Brenda

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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:34 AM.