SFTP connection method
Connect your supplier's secure SFTP server to syncX: Stock Sync to automate encrypted catalog imports and inventory updates over an SSH data stream. Configuring SFTP access ensures safe file transfers with SSH key support and automated post-sync file management.
How to Set Up an SFTP Connection
Go to App → Create new feed → Select connection → Step 1: Feed manager → SFTP
- Enter Login Credentials: Fill in your SFTP Username and Password in the required fields.
- Add SSH Key (If Required): Retrieve the public or private SSH Key in PEM Format from your SFTP provider and paste it into the SSH Key field.

- Specify SFTP Host and Port: Enter your SFTP source host starting with
sftp://(for example,sftp://vendor.com:22,sftp://ftp.vendor.com, or112.2.1.150). The default SFTP port is22unless your provider specifies otherwise. - Enter Directory and Filename: Specify the exact folder path and file name where your feed is stored (for example,
/public_html/project/data/inventory.csv). - Select After Process Action: Choose what happens to your source file on the SFTP server after a sync completes (Do Nothing To My File, Append Date To My File, Rename My File, or Delete My File).
- Configure File Format and Header: Leave File Format set to Auto (or select your specific format manually), and enable First Row Header if row 1 of your file contains column headers.
- Whitelist IP and Test Connection: Whitelist Stock Sync's static IP address (
52.20.189.51) on your server and test the connection.
SFTP Connection Detailed Breakdown
1. SFTP Host & Port Syntax
For SFTP connections, always prefix your host address with sftp:// (do not use https://). The standard SFTP port is 22 unless your server administrator provides a custom port number.
sftp.example.com:5522 or 112.2.1.150:5522).2. After Process File Actions
Control how Stock Sync handles the source feed file on your SFTP server once the import or update process finishes:

- Do Nothing To My File: Leaves the original file untouched in its SFTP directory.
- Append Date To My File (
<date_time>_file_name): Prepends a timestamp to the processed file so you can track historical syncs. - Rename My File: Renames the processed file using the custom filename you enter in the provided field.
- Delete My File: Permanently removes the file from your SFTP directory after processing.
3. File Format & First Row Header
- File Format: Set to Auto by default so Stock Sync detects the file format automatically, or manually select the exact file format matching your feed.
- First Row Header: Disabled by default. Enable this toggle whenever the first row of your feed file contains column headers (such as
SKU,Price, orQuantity).
Key Rules & Technical Details
52.20.189.51 so automated connections are not blocked.- Protocol Prefix Requirement: SFTP host addresses must begin with
sftp://rather thanhttps://or standardftp://. - PEM Format SSH Keys: If your SFTP server requires key-based authentication, ensure the public or private key is formatted in valid PEM Format.
- Case-Sensitive File Paths: SFTP directory paths and filenames are strictly case-sensitive (
Inventory.csvis treated differently thaninventory.csv).
Troubleshooting Steps
- Issue: FileZilla connects with your credentials, but Stock Sync fails to connect → Solution: Confirm that your server has whitelisted Stock Sync's static IP (
52.20.189.51), verify you selected the right protocol (SFTP vs. FTP vs. FTPS), check that the port is22(or your custom SFTP port), and verify the exact case-sensitive directory and filename. - Issue: Server disconnects automated sync requests after connecting → Solution: Check with your hosting provider or SFTP administrator to remove server restrictions that terminate automated or non-interactive SSH sessions.
- Issue: Connection test limit is reached while troubleshooting → Solution: Skip Test Connection and run a Manual Sync directly to view the exact error message in your feed logs.
Good Articles to Continue
- How to Set Up an FTP Connection in Stock Sync → Learn how to configure standard FTP connections, port settings, and post-sync file actions.
- How to Use Wildcard and Dynamic Date Variables in Stock Sync → Configure dynamic timestamps and asterisk wildcards for daily generated SFTP filenames.
- How to Export Product in XML Format → Learn how to export your store's catalog data in XML format via FTP or SFTP.
Updated on: 02/12/2026
Thank you!
