Skip to main content

(S)FTP Outbound adapter

ConnXio (CX) lets customers receive messages from the CX pipeline via Sftp (there are very few differences between FTP and Sftp while configuring CX, when we write Sftp we mean both FTP and Sftp unless otherwise specified). This page details limitations of the Sftp protocol and how to configure and connect to a Sftp server.

Limitations

There are several limitations inherent to the Sftp protocol. First and foremost Sftp servers are notoriously bad at handling connections, this mens that CX has to handle constant connection interruptions. Another limitation is traffic. Sftp has problems with handling a lot of connections at the same time and will, in many circumstances, shut down completely when overwhelmed. All this culminates in a very unstable server connection which we handle in every way possible. We have used an enormous amount of resources to make our Sftp adapter as stable as possible since we know our customers have legacy systems that demands this protocol. We always recommend that you use other, more stable protocols if possible, but if you need to pick up Sftp files at some point we are very proud of our adapter, and it does represent the best possible solution for picking files from Sftp.

To handle these limitations in the best way possible for each individual server we have multiple advanced options that will be described below which tunes the connections such that you can use the setup that works best for you.

Configuring Sftp connections

To configure CX to start delivering your Sftp messages select the Sftp option in "Outbound Connections" shape:

img

A new window pops up. Add data as seen below:

img

  • SFTP Security Configuration: Reference to the Security Configuration that contains the relevant connection properties.
  • Directory: he directory to pickup files in.
  • SSH HostKey Fingerprint: The fingerprint of the server certificate. Read more in the WinScp documentation.
  • Use Static Ip: Forces CX to run Sftp traffic on static Ip. This uses a separately hosted functionality that limits parallelization and can effect performance on high traffic scenarios.
  • Outbound Filename Pattern: Uses variable replacement to generate file names, this is described in detail on the variable replacement page.
  • Duplicate Detection: Attempts to terminate the message if the exact same has been processed any time the last five days. ConnXio does not guarantee that no duplicates will be sent.
  • Termination Status: The status used for logged in when a duplicate is terminated. If left empty, the status will default to 'Terminated'

Retry

Retry on all outbound adapters is currently handled by the linear retry described on the Retry page. This may change in the future as we are looking into enabling backoff retry.