The CONNECT command is used to connect to the remote SSH2 FTP server.
Syntax:
Command | Keyword | Value | Developer notes |
|---|---|---|---|
CONNECT | HOST | host:port | Required. Remote host. |
ENCODING | Optional. Remote server path encoding. | ||
COMPRESSION | *YES | Optional. Enable communication compression. | |
*NO | Default. | ||
WAIT | milliseconds | Read timeout. The default value is 0. | |
TIMEOUT | milliseconds | The host connection timeout in milliseconds. Default indicates an infinite timeout or an operating system timeout. |
Example
CONNECT HOST(ftpserver) TIMEOUT(10000) WAIT(5000)