Trading configuration > Community trading pickups and partner deliveries > Fields for adding trading pickups and deliveries > SFTP (external) transport configuration

SFTP (external) transport configuration

You can use Secure FTP (SFTP) as a trading partner or application transport.

Note This topic describes configuring an external SFTP server. For an embedded SFTP server, see SFTP (embedded) transport configuration.

To enable partners to send messages to your SFTP server, first set up the account, user ID and password for the SFTP server where Activator retrieves files. Any partner who intends to receive messages from you by SFTP also must also perform this step.

SFTP is similar to FTP, but performs all operations over an encrypted Secure Shell (SSH) transport. SFTP and FTP/SSL (or FTPS) are different transports. An SFTP server can communicate only with other SFTP servers, not FTP servers.

Activator supports limited SFTP functionality as the following notes:

This transport has been tested only with the OpenSSH sftp‑server.

For more information about SSH see:

SFTP fields

The following fields are used in the delivery exchange wizard for configuring this transport.

Testing SFTP

You can use the sftpTester tool to exercise the SFTP client outside of Activator. The script to start sftpTester can be found in <install directory>\tools.

sftpTester is a console-based application that can verify the operation of the SFTP client in Activator and a partner’s SFTP server. Activator server does not have to be running to use this tool. You can use it on UNIX or Windows.

sftpTester duplicates the way Activator accesses an SFTP server. It is a test program to verify interoperability with SFTP servers. If you can send, list, receive and delete files on a SFTP server using sftpTester, this is a good indication Activator can interoperate with the server.

sftpTester prompts for all the information it needs, as the following illustrates:

After prompting for the initial configuration information such as the host, user and password, sftpTester displays a main prompt that allows you to enter meta-commands to perform simple operations such as list, send and receive. You can enter a question mark (?) at this point to get more information. The following information displays upon entering a question mark at the main prompt:

Consumer commands

Producer commands

Troubleshooting SFTP

For troubleshooting, you can write messages specific to the SFTP transport to Activator log file. You can add the following properties to the log4j.properties file at <install directory>\conf.

Related topics: