5.3.3 CONNECT

The CONNECT command is used to connect to the remote SSH2 FTP server.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

CONNECT

HOST

host:port

Mandatory. Remote host.
Default port. 22.

ENCODING

 

Optional. See ENCODING.
Default. *DEFAULT
Remote server path encoding.

COMPRESSION

*YES

Optional. Enable communication compression.

*NO

Default.

WAIT

value

Read timeout. The default value is 0.
The amount of time to wait on a read.

TIMEOUT

value

Connection timeout. The default value is 0.
The amount of time to wait for a host connection.