SFTP connections
On this page

This page is for version 1.0. Read the current version.

SFTP connections

A feed whose channel is SFTP is uploaded to another company's server, such as Google Merchant Center's or a marketplace's. For that, the store needs a connection to the server, made once under Arlanix → SFTP Connections. Every feed that uploads to the same server uses it.

What you need

Whoever runs the server gives you its details, usually with the login:

  • the host, the server's address, and its port;
  • the username and the password;
  • the server's SHA-256 host-key fingerprint, such as SHA256: +0f4…. It proves the server is the one you mean. Copied without SHA256:, it is taken all the same.

For Google Merchant Center's own server, Merchant Center shows them all when you add the data source the feed uploads into: The SFTP channel shows each step, from the file name to the feed's Channel section.

If you were given a key file rather than a password, or no fingerprint, ask your developer to make the connection: it is in their documentation.

Make the connection

  1. Open the Arlanix menu and choose SFTP Connections:

    The Arlanix menu open, with SFTP Connections lifted

  2. Press Add SFTP connection:

    The Add SFTP connection button above the grid

  3. Fill in the form:

    The SFTP connection form, filled in for a warehouse server

    • Name: your own name for the connection, such as Warehouse SFTP, or Google Merchant Center for Google's server.
    • Host, Port and Username: as you were given them, such as sftp, 22 and sftp for the warehouse server above. The port is 22 unless you were told otherwise; Google Merchant Center's is 19321.
    • Authentication: Password.
    • SHA-256 host-key fingerprint: the fingerprint, as you were given it.
    • Password: the password.
  4. Press Save & Close, under the arrow beside Save:

    The Save button above the connection form, with the arrow that holds Save & Close

    Saving checks the connection: the store logs in to the server, which takes a few seconds. Save checks it the same way and keeps the form open.

When it is connected

The grid comes back with SFTP connection saved and connected., and the connection is Connected:

The grid after the save: "SFTP connection saved and connected." and the connection Connected

The connection's form says so too:

The connection form: "Connected. Feeds can deliver through it." above Test Connection

Test Connection asks the server again, for when the feed grid's Health shows uploads failing. If the store still gets in, the form says Connected just now. Feeds can deliver through it., and the cause is not the connection. If it does not, the connection becomes Failed, with the reason above Connect, and no feed uploads through it until a save or Connect gets in: see When the server refuses it.

Upload a feed through it

  1. Open the feed, unfold Channel and set Channel to SFTP:

    The Channel section for SFTP: Channel SFTP, Format, SFTP connection, Remote file name or path

    • Format: any of the formats a file feed offers. Google Merchant Center reads CSV, TSV and XML.
    • SFTP connection: the connection. The pencil edits it, + makes a new one in a panel.
    • Remote file name or path: a bare file name, such as google-shopping.csv, puts the file in the login's own folder, which is what Google Merchant Center expects: use the file name you gave the data source there. A server of your own can take an absolute path, starting with /, such as /feeds/google-shopping.csv, to a folder that already exists.
  2. Save the feed. Its next run uploads the file; to upload it now, use Deliver to SFTP in the feed's row, as Run it now shows. The grid's Health shows when the upload went through, or that it failed.

When the server refuses it

The connection is saved all the same, as Failed, and no feed uploads through it. The form comes back with SFTP connection saved, but the server did not accept it: and the reason at the top, and the reason again above Connect:

The connection form after a refused save: the message at the top, and the reason above Connect

What to do depends on the message:

  • SFTP authentication failed: the username or the password is wrong. Correct it and press Save again.
  • Could not connect to the SFTP server: check the host and the port. If they are right, the server may be down, or it does not let your store in: press Connect later, or send the message to your developer.
  • SFTP server host-key fingerprint does not match the configured SHA-256 fingerprint.: check the fingerprint. If it is as you were given it, send the message to your developer.

For any other message, send it to your developer.

Change or delete the connection

Open the connection with Edit in its row's Select menu, under Arlanix → SFTP Connections.

  • Saving a change to the host, port, username, authentication, fingerprint or password checks the connection again; renaming it does not.
  • Left empty, Password keeps the stored password.
  • Connect and Test Connection check the connection as saved: while you change a detail, they give way to You changed the connection. Save it to check it against the server.

To delete the connection, click Select in its row, then Delete. It asks first: click OK.

Delete SFTP connection: Are you sure you want to delete this connection?, with Cancel and OK

The grid then says SFTP connection deleted. A connection that feeds still upload through cannot be deleted: Troubleshooting has the message and what to do.