/n software BizTalk Adapters V4 - Online Help
Available for:
/n software BizTalk Adapters V4
Questions / Feedback?

BeforeExecute Property

A set of Telnet commands to be executed before Command execution.

Data Type

String

Default Value

""

Remarks

BeforeExecute is a script that is executed immediately before executing Command.

Each line in the script is treated as a single command.

Valid additional scripting commands are listed below:

exec Command [Prompt]Sends Command to the server. If Prompt is not set, the adapter will wait for ShellPrompt or ShellPromptExpression.
send DataSends Data to server and does not wait for a response.
wait ExpectedResponseWaits for a server response that includes ExpectedResponse. If no matching response is received within Timeout seconds an error occurs.
sleep TimeSleeps Time seconds.

Commands that include spaces should be surrounded with quotes. For instance:

exec "echo hello"
Quotes within a command do not need to be escaped. For instance:
exec "echo hello "world""
Will send:
echo hello "world"
Commands that include spaces should be surrounded with quotes. For instance:
exec "echo hello"
Quotes within a command do not need to be escaped. For instance:
exec "echo hello "world""
Will send:
echo hello "world"

The "\" character is the escape character. It is used with the special case of Cr and Lf characters. For instance:

exec "pwd\r\n"
Will send "pwd" followed by a CrLf sequence.

The "\" escape character is also used when specifying non-ASCII characters by passing Hex encoded values. For instance:

exec "\7F"
Will send the DEL control character.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0