Skip to main content

SFTP Connector

SFTP SFTP (SSH File Transfer Protocol) is a secure file transfer protocol that operates over SSH. The SFTP component allows uploading, downloading, moving, and deleting files on an SFTP server.

Connections

Basic Authentication

Authenticate using username and password

The Basic Authentication connection is used to connect to SFTP servers that support username / password login.

Prerequisites

  • An SFTP server with username/password authentication enabled
  • Valid credentials (username and password)

Configure the Connection

  • Username: Enter the SFTP account username
  • Password: Enter the SFTP account password
  • Host: Enter the SFTP server hostname or IP address
  • Port: Enter the SFTP server port (default: 22)

Advanced Settings (Optional)

  • Timeout: Connection timeout in milliseconds (default: 3000)
  • Enable Unsecure Server Host Key Algorithms: Enable deprecated host key algorithms for legacy servers
  • Enable Unsecure Ciphers: Enable CBC ciphers for legacy servers
  • Custom Server Host Key Algorithms: Comma-separated list of custom host key algorithms (overrides defaults)
  • Custom Ciphers: Comma-separated list of custom ciphers (overrides defaults)

Consult the SFTP server administrator to determine which login method the server supports.

InputCommentsDefault
PasswordThe password for SFTP authentication.
UsernameThe username for SFTP authentication.
HostThe address of the SFTP server. This should be either an IP address or hostname.
PortThe port of the SFTP server.22
TimeoutHow long the client will await a request.3000
Enable Unsecure Server Host Key AlgorithmsWhen true, unsecure server host key algorithms will be added to the connection.false
Enable Unsecure CiphersWhen true, CBC ciphers will be added to the connection.false
Custom Server Host Key AlgorithmsA comma-separated list of custom server host key algorithms. Overrides the default server host key algorithms. Algorithm order matters. Advanced setting.
Custom CiphersA comma-separated list of custom ciphers. Overrides the default ciphers. Cipher order matters. Advanced setting.

Private Key

Authenticate using SSH private key

The Private Key connection allows access to an SFTP server via SSH public/private key authentication.

Prerequisites

  • An SFTP server with public key authentication enabled
  • A generated public/private SSH key pair
  • The public key must be stored on the SFTP server

Setup Steps

  1. Generate a public/private SSH key pair if not already available
  2. Copy the public key to the SFTP server (usually to ~/.ssh/authorized_keys)
  3. Verify the key is properly configured with the SFTP server administrator

Configure the Connection

  • Username: Enter the SFTP account username
  • Private Key: Enter the complete private key (including headers and footers)
  • Key Passphrase: Enter the passphrase for the private key (if applicable)
  • Password: Enter the password if the server requires both private key and password authentication (uncommon)
  • Host: Enter the SFTP server hostname or IP address
  • Port: Enter the SFTP server port (default: 22)

Advanced Settings (Optional)

  • Timeout: Connection timeout in milliseconds (default: 3000)
  • Enable Unsecure Server Host Key Algorithms: Enable deprecated host key algorithms for legacy servers
  • Enable Unsecure Ciphers: Enable CBC ciphers for legacy servers
  • Custom Server Host Key Algorithms: Comma-separated list of custom host key algorithms (overrides defaults)
  • Custom Ciphers: Comma-separated list of custom ciphers (overrides defaults)

Authentication is performed using the username and corresponding private key.

InputCommentsDefault
Private KeyThe SSH private key for authentication.
Key PassphraseThe passphrase for the private key. Leave blank if none.
PasswordThough uncommon, some SFTP servers that use private keys may also require a password. Leave blank if none.
UsernameThe username for SFTP authentication.
HostThe address of the SFTP server. This should be either an IP address or hostname.
PortThe port of the SFTP server.22
TimeoutHow long the client will await a request.3000
Enable Unsecure Server Host Key AlgorithmsWhen true, unsecure server host key algorithms will be added to the connection.false
Enable Unsecure CiphersWhen true, CBC ciphers will be added to the connection.false
Custom Server Host Key AlgorithmsA comma-separated list of custom server host key algorithms. Overrides the default server host key algorithms. Algorithm order matters. Advanced setting.
Custom CiphersA comma-separated list of custom ciphers. Overrides the default ciphers. Cipher order matters. Advanced setting.

Triggers

New or Modified Files

Checks for new and modified files in a directory on an SFTP server on a configured schedule.

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathThe path of the directory on the SFTP server to list files from.
PatternThe glob-style pattern for filtering files (e.g., *.txt).*
Include SubdirectoriesWhen true, recursively monitors files in all subdirectories. When false, only monitors files in the specified directory.false

Actions

Append File

Append data to an existing file on a SFTP server.

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathThe path on the SFTP server where data will be appended.
DataThe text or data to append to the file.

Create Directory

Create a new directory. When Include Subfolders is enabled, recursively creates any missing directories in the path.

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathThe path of the directory on the SFTP server to list files from.
Include SubfoldersWhen true, recursively creates any missing directories in the path.true

Delete File

Delete a file from a SFTP server

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathPath of file to delete

Fast Get

Read a file from SFTP

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathPath of file on SFTP server to read data from
Return BufferWhen true, treats the file as a binary file with content type 'application/octet-stream', even if it is a text file. This is helpful if you are processing non-UTF-8 text files, as the runner assumes text files are UTF-8.false

List Directory

List files and directories in a directory on an SFTP server. Optionally list files in subdirectories.

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathThe path of the directory on the SFTP server to list files from.
PatternThe glob-style pattern for filtering files (e.g., *.txt).*
Include SubdirectoriesWhen true, recursively monitors files in all subdirectories. When false, only monitors files in the specified directory.false
Include DirectoriesWhen true, lists directories in addition to files. When false, only lists files.false

Move File

Move a file on an SFTP server

InputCommentsDefault
ConnectionThe SFTP connection to use.
Source PathPath of file to move
Destination PathPath of file to move

Read File

Read a file from SFTP

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathPath of file on SFTP server to read data from
Return BufferWhen true, treats the file as a binary file with content type 'application/octet-stream', even if it is a text file. This is helpful if you are processing non-UTF-8 text files, as the runner assumes text files are UTF-8.false

Stat File

Pull statistics about a file

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathPath of file on SFTP server to read data from

Write File

Write a file to SFTP

InputCommentsDefault
ConnectionThe SFTP connection to use.
PathThe path to the file on the SFTP server.
DataThe text or data to write into the file.