Articles on: Shopify

SFTP connection method

Connect via SFTP to easily export your product data in XML format. Learn more here.


SFTP is a secure version of file transfer protocol that facilitates data access and data transfer over a secure shell data stream.


The steps of the connection will be provided below:


  1. Fill in the login credentials of the user and password fields.


  1. Please retrieve the SSH Key from the SFTP provider.


    Public or private ssh key in PEM Format.


  1. Specify the FTP source host to that you want to export the inventories.


     eg. sftp://vendor.com:22, sftp://ftp.vendor.com, 112.2.1.150


     For SFTP connections, the host address must start with sftp:// (not https://). The default SFTP port is 22 unless your provider specifies otherwise.


To include a port number, append it to the hostname or IP address, like sftp.example.com:5522 or 112.2.1.150:5522


  1. Fill in the Directory and filename where the feed file is located.


  1. Fill in the Directory and filename where the feed file is located.


    eg. /public_html/project/data/inventory.csv


For a filename with a timestamp, please click here for more info.


  1. Select an option under the After Process field, depending on the user choosing which option for their feed file to be after the process is finished.


  • Do Nothing To My File
  • Append Date To My File (<date_time>_file_name)
  • Rename My File
  • Delete My File



  1. The File Format field is set to Auto where Stock Sync auto-detects the file format or can also choose the type of file format.


  1. By default First Row Header is disabled. If there’s a header on the file, need to enable this option. 


If you receive an error:

• Ensure your server has whitelisted Stock Sync’s static IP: 52.20.189.51

• Confirm the same credentials work in FileZilla. If FileZilla connects but Stock Sync does not, common causes include:

  • Protocol mismatch (FTP vs SFTP vs FTPS)
  • Incorrect directory or filename (case‑sensitive)
  • Wrong port (SFTP usually uses 22)
  • Server restrictions that disconnect automated connections

• If the connection test limit is reached, skip Test Connection and run a Manual Sync to view the actual error.

• Ensure your server has whitelisted Stock Sync’s static IP: 52.20.189.51

• Confirm the same credentials work in FileZilla. If FileZilla connects but Stock Sync does not, it is usually due to missing IP whitelisting or incorrect file path.

Updated on: 09/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!