Skip to main content

SFTP Adaptor

About SFTP

SFTP (Secure File Transfer Protocol) is a secure method for transferring files between systems over an encrypted SSH connection. It is widely used for securely uploading, downloading, and managing files on remote servers.

Using this adaptor, you can read and write files (e.g., csv, xls, json files) saved on a SFTP server.

Integration Options

Direct File Transfers: SFTP allows users to manually or programmatically transfer files between a local and remote system. See functions for more on how to use this adaptor to work with an SFTP server.

Authentication

When integrating with a SFTP server via OpenFn, you can provide a username and password for an authorized user to authenticate. See this adaptor's Configuration docs for more on the required authentication parameters.

See platform docs on managing credentials for how to configure a credential in OpenFn. If working locally or if using a Raw JSON credential type, then your configuration will look something like this:

{
"host": "191.173.128.88",
"username": "name",
"password": "pwd"
}
  1. Best Practices for SFTP

Implementation Examples

  1. Women for Women International - SFTP -> Salesforce sync: https://github.com/OpenFn/women-for-women