Send to disconnect examples

For a service like FTP, to disconnect would be QUIT/r/n. If a command string is not specified, the connection is closed by sending a FIN packet and then an RST packet.

The /r (carriage return) and /n (line feed) are the conventions for sending these control characters to terminate a string. You can use:

The disconnect string is:

Send=QUIT/r/n

See Also

Rules Expression Editor

Script Syntax

Script Syntax: Expect=Keyword

Script Syntax: Send=Keyword

Script Syntax: SimpleExpect Keyword

Script Syntax: Flow Control Keywords

Regular Expression syntax

Text string example