Connect
Connect and sign in to an FTP, FTPS or SFTP server, optionally trying again when the server cannot be reached and starting in a chosen folder.
Command in the FTP / SFTP toolkit · id ooa.file_transfer/connect · 18 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Protocol | String | Yes | sftp (SSH), ftps (FTP over TLS) or plain ftp. | |
| Host | String | Yes | Server name or address. | |
| Port | Number | No | Port; 22 for SFTP, 21 for FTP/FTPS when empty. | |
| User | String | No | User name; it may come from the vault. | |
| Password | Credential | No | Password from the vault. | |
| Private key | File | No | SFTP private key file (instead of a password). | |
| Key passphrase | Credential | No | Private key passphrase. | |
| Host key fingerprint | String | No | Expected SFTP server fingerprint (SHA256:...); strongly recommended. | |
| Session | String | No | transfer | Session name. |
| Passive mode | Boolean | No | true | FTP/FTPS: the client opens the data connections (works through most firewalls); false uses active mode. |
| Implicit TLS | Boolean | No | false | FTPS: use implicit TLS (usually port 990) instead of explicit TLS after connecting. |
| Transfer mode | String | No | binary | FTP/FTPS: binary copies files byte for byte; ascii converts line endings of text files. |
| Timeout (seconds) | Number | No | 20 | How long to wait when connecting and for each server reply. |
| Retry attempts | Number | No | 0 | How many more times to try when the server cannot be reached or drops the connection; 0 tries once. A wrong password or server fingerprint is never retried. |
| Retry delay (seconds) | Number | No | 5 | Seconds to wait between tries. |
| Start folder | String | No | Remote folder to change to right after signing in; later relative paths start from it. | |
| Anonymous | Boolean | No | false | Sign in as anonymous, for public FTP servers (G5). |
| Ftps encryption | String | No | FTPS: explicit (TLS after connecting, usually port 21) or implicit (TLS from the start, usually 990); overrides implicit_tls (G5). |