Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ProtocolStringYessftp (SSH), ftps (FTP over TLS) or plain ftp.
HostStringYesServer name or address.
PortNumberNoPort; 22 for SFTP, 21 for FTP/FTPS when empty.
UserStringNoUser name; it may come from the vault.
PasswordCredentialNoPassword from the vault.
Private keyFileNoSFTP private key file (instead of a password).
Key passphraseCredentialNoPrivate key passphrase.
Host key fingerprintStringNoExpected SFTP server fingerprint (SHA256:...); strongly recommended.
SessionStringNotransferSession name.
Passive modeBooleanNotrueFTP/FTPS: the client opens the data connections (works through most firewalls); false uses active mode.
Implicit TLSBooleanNofalseFTPS: use implicit TLS (usually port 990) instead of explicit TLS after connecting.
Transfer modeStringNobinaryFTP/FTPS: binary copies files byte for byte; ascii converts line endings of text files.
Timeout (seconds)NumberNo20How long to wait when connecting and for each server reply.
Retry attemptsNumberNo0How 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)NumberNo5Seconds to wait between tries.
Start folderStringNoRemote folder to change to right after signing in; later relative paths start from it.
AnonymousBooleanNofalseSign in as anonymous, for public FTP servers (G5).
Ftps encryptionStringNoFTPS: explicit (TLS after connecting, usually port 21) or implicit (TLS from the start, usually 990); overrides implicit_tls (G5).