Skip to main content

SFTP

Securely transfer and read files from remote SFTP servers.

Specific Settings​

SettingDescriptionExample Value
HostIP address or hostname of the SFTP server.192.168.1.100
PortPort for the connection. Default: 22.22
Compress fileEnable gzip compression before North processing.Enabled/Disabled

Authentication​

SettingDescriptionExample Value
AuthenticationAuthentication method.Username/Password, Private Key
UsernameUsername for SFTP authentication.sftp_user
PasswordPassword (for Username/Password authentication).••••••••
Private key pathPath to the private key file in PEM format (for Private Key authentication)./home/user/.ssh/id_rsa
PassphrasePassphrase for the private key, if protected (optional).••••••••
Private Key Notes
  • Supports passphrase-protected keys
  • Key format: PEM
  • Example path: /home/user/.ssh/id_rsa or C:\Users\user\.ssh\id_rsa

File Retrieval Settings​

SettingDescriptionExample Value
Remote folderSource directory path on the SFTP server./incoming/data
RegExpFile pattern filter (regular expression)..*\.txt, .*\.csv
Minimum ageMinimum age (in ms) for files to be retrieved. Avoids corrupted files still being written. Default: 1000 ms.1000
Preserve fileIf enabled, files are not deleted after retrieval. Useful if other applications need access. OIBus tracks modification time to avoid re-retrieving unchanged files.Enabled/Disabled
Ignored modified date(Requires Preserve file) Forces retrieval even if the file's modification time hasn't changed. Useful for ensuring files are always processed.Enabled/Disabled
Max files per scanMaximum number of files to retrieve per scan. Set to 0 for no limit. Remaining files are retrieved in the next scan.0 (no limit), 100
Max size per scanMaximum total size (in MB) of files per scan. Set to 0 for no limit. Remaining files are retrieved in the next scan.0 (no limit), 500
Scan sub-foldersIf enabled, recursively scans sub-folders within the remote folder.Enabled/Disabled

Common Examples