> For the complete documentation index, see [llms.txt](https://help.stockeo.solvenium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.stockeo.solvenium.com/settings/feed-source/ftp-s.md).

# FTP(S)

Stockeo can connect to an FTP server to automatically retrieve feeds from your supplier. Three protocols are supported: FTP, FTPS, and SFTP.

## Connection Setup <a href="#connection-setup" id="connection-setup"></a>

<figure><img src="/files/zMVg3XQOHPaugQKkZh9j" alt="Configuration screen showing Stockeo feed source settings for an FTP channel"><figcaption><p>Stockeo feed source configuration for FTP channel</p></figcaption></figure>

#### Protocol <a href="#protocol" id="protocol"></a>

Choose `ftp://`, `ftps://`, or `sftp://`. Changing the protocol automatically updates the default port.

<table><thead><tr><th width="105">Protocol</th><th width="548">Description</th><th>Default port</th></tr></thead><tbody><tr><td><strong>ftp://</strong></td><td>Standard, unencrypted FTP. Credentials and file data are transmitted in plain text.</td><td>21</td></tr><tr><td><strong>ftps://</strong></td><td>FTP over TLS (encrypted). Stockeo handles both explicit and implicit TLS automatically. If your server uses a self-signed certificate, enable the A<strong>ccept self-signed certificate</strong> option.</td><td>990</td></tr><tr><td>sftp://</td><td>SFTP over SSH — a completely separate protocol from FTP/FTPS. Supports <strong>password</strong> and <strong>private key</strong> authentication.</td><td>22</td></tr></tbody></table>

#### Host <a href="#host" id="host"></a>

Hostname or IP address of the server (e.g. `files.example.com`).

#### Port <a href="#port" id="port"></a>

Port number. Defaults: `21` for FTP, `990` for FTPS, `22` for SFTP.

#### Accept self-signed certificate <a href="#accept-self-signed-certificate" id="accept-self-signed-certificate"></a>

FTPS only. Enable this option if the server uses a self-signed TLS certificate.

#### Username <a href="#username" id="username"></a>

Your FTP/SFTP login name.

#### Password <a href="#password" id="password"></a>

Password for FTP, FTPS, and SFTP with password authentication.

#### Private Key <a href="#private-key" id="private-key"></a>

SFTP with private key authentication only. Paste the full contents of your OpenSSH private key (beginning with `-----BEGIN OPENSSH PRIVATE KEY-----`). The server must have the corresponding public key in its `authorized_keys` file.

#### File path <a href="#file-path" id="file-path"></a>

The **File path** field tells Stockeo where to look for product feed. It supports three formats, each producing different processing behaviour.

**Static path**

A fixed path to a single file.

```
/inventory/stock.csv
```

Stockeo checks whether the file has been **modified** since the last run. If the file has not changed, it is skipped and the run is recorded as `File has not changed since last run`. If it has changed, the file is downloaded and processed.

**Wildcard path**

A path with `*` or `?` wildcards in the filename.

```
/inventory/stock_*.csv
```

**Liquid path**

A path containing Liquid expressions that are evaluated before the file lookup.

```
/inventory/stock_{{ "now" | moment: "YYYY-MM-DD", "America/Chicago" }}.csv
```

The Liquid expression is resolved to a concrete filename using the current date and time. This makes it possible to dynamically target files whose names contain timestamps, dates, or other calculated values.

For example, the path above would be resolved to:

```
/inventory/stock_2026-06-08.csv
```

In this case, you can make use of the Stockeo custom Liquid filter [moment](/custom-liquid-filters.md).

### Firewall Whitelist <a href="#firewall-whitelist" id="firewall-whitelist"></a>

Stockeo connects to your FTP server from a fixed IP address. If your supplier's server is protected by a firewall, you or your supplier will need to whitelist the following IP:

```
138.197.226.212
```

Pass this address to whoever manages the FTP server so they can allow incoming connections from it.

### Connecting and Testing <a href="#connecting-and-testing" id="connecting-and-testing"></a>

After filling in all fields, click **Connect**. Stockeo will establish a connection to the server and save the credentials.

If the file is not found at the given path, the connection still succeeds but a warning is shown next to the **File path** field. You can proceed with saving and Stockeo will look for the file again at the next scheduled run.

Once connected, the **Edit** button appears and all fields become read-only. Clicking **Edit** unlocks the fields so you can update the connection details.
