Inventory Sync: FTP URL Format

Inventory Sync supports downloading files from the following types of servers:

  • Plain-text FTP
  • FTP with implicit SSL/TLS
  • FTP with explicit SSL/TLS
  • SFTP

The type of connection is determined by the very start of the URL:

# Plain-text FTP
ftp://user:password@example.com/file.csv

# FTP with implicit SSL (FTPS)
ftps://user:password@example.com/file.csv

# FTP with explicit SSL (FTPS)
ftp+ssl://user:password@example.com/file.csv

# Secure FTP (SFTP)
sftp://user:password@example.com/file.csv

Ports

If you need to define a non-standard port for the FTP server you can add it after the hostname of the URL. For example, to connect over port 2121:

ftp://user:password@example.com:2121/file.csv

Here are the default ports for each type of the FTP protocol:

Protocol Connection scheme Default Port
FTP ftp:// 21
FTP with implicit SSL (FTPS) ftps:// 990
FTP with explicit SSL (FTPS) ftp+ssl:// 21
Secure FTP (SFTP) sftp:// 22

Wildcards

If you have a file name that changes every day you can use a wildcard in the filename. For example:

ftp://user:password@example.com/feed/Inventory*.csv

The above URL will download the most recent file in the "feed/" directory that matches the pattern "Inventory*.csv".

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.