Skip to main content
The SFTP Connector transfers files to and from a remote SFTP server.

Key Capabilities

  • SSH-based secure file transfer with public key and password authentication
  • Advanced authentication including certificate-based client authentication
  • Resume capability for interrupted uploads and downloads
  • Advanced SSH encryption algorithms and server thumbprint validation
  • Connection pooling and temporary file handling for reliable transfers
  • Optional caching to ensure only new or updated files are downloaded

Overview

Each SFTP Connector connects uploads to a specified folder and downloads from a set of folders on the remote SFTP server. Files that reach the SFTP Connector in the flow are uploaded to the upload target folder, and files found in the download target folder(s) are downloaded and entered into the flow. The connector supports upload and download filters to only send and receive specified file names and/or file extensions.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Host Configuration

Settings related to establishing the connection to the remote SFTP host.

Client Authentication

Settings related to authenticating to the SFTP server.

Server Authentication

Setting related to verifying the SFTP server’s identity.

Upload

Setting related to uploading files to the SFTP server.

Download

Settings related to downloading from the SFTP server.

Caching

Settings related to caching and comparing files between multiple downloads.
When you enable caching, the file names are case-insensitive. For example, the connector cannot distinguish between TEST.TXT and test.txt.

Advanced Tab

Server Commands

Advanced Settings

Settings not included in the previous categories.

Proxy Settings

Logging

Miscellaneous

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Performance

Alerts Tab

SLAs Tab

Establishing a Connection

The following settings are required to connect to a remote SFTP server:
  • Remote Host
  • Remote Port
  • Authentication Mode
  • User
  • Password or Client Certificate/Certificate Password
  • Server Thumbprint
When testing the connection to the server, the connector prompts you to accept/trust the thumbprint of the server’s public key.

Uploading Files

The SFTP Connector uploads files from the Transactions tab. Files are automatically uploaded to the SFTP server if Upload Automation is enabled in the connector. Remote Path should be set to the folder on the remote SFTP server where files should be uploaded. The application changes directories to the specified folder after logging in to the server. If any files could not be uploaded, the connector attempts to send them again after Retry Interval minutes have elapsed. This process continues until the Max Attempts setting is reached, after which the connector raises an error and the file is no longer sent automatically.

Downloading Files

Downloaded files are displayed in the Transactions tab of the connector, or passed along to the next connector in the flow. Files are automatically downloaded from the SFTP server if Download Automation is enabled in the connector, and can be manually downloaded by clicking the Receive button on the Transactions tab. Remote Path should be set to the folder on the remote SFTP server from which files should be downloaded. The application changes directories to the specified folder after logging in to the server. The File Mask property filters files so that only filenames matching the glob pattern are downloaded from the server. You can use the Delete files (after download) setting to delete the files on the remote server after successfully downloading them. On the Transactions tab, click the Receive button to test the settings and retrieve the matching files from the server.

Subfolder Headers

If Recurse is checked on the Advanced tab, when receiving a file from the Remote Path in the SFTP connector:
  • The message for the file that is received contains a Subfolder header in its metadata.
  • This header contains the subfolder, relative to the Remote Path in the SFTP connector, that the file was received from.
  • This subfolder header is supported by other connectors that support a subfolder header in Send operations.
When sending files, if a Subfolder header is present on the message that is sent to the Upload Path in the SFTP connector:
  • The file is placed in the subfolder, relative to the Upload Path in the SFTP connector, that is specified in the subfolder header.
  • The subfolder is created if permissions are available.

Macros

Examples