Supply chain collaborationSFTP Meet embedded SpicY™ AI

SPICE™ Glossary / SFTP

SFTP

SFTP (SSH File Transfer Protocol) is a secure method for transferring files over an encrypted connection, commonly used to exchange EDI, flat files and spreadsheets with trading partners.

SFTP runs over SSH, the same secure protocol administrators use to log in to servers. One side hosts an SFTP server with folders, and the other connects with a user account and a password or, more often, an SSH key. Files are pushed to an inbound folder or pulled from an outbound folder, usually on a schedule.

SFTP is common for EDI because it is simple, secure and supported almost everywhere. It suits batch exchanges such as daily orders, inventory files and invoice runs, and it handles non-EDI formats like CSV, XML and spreadsheets just as easily. It is not the same as FTPS, which adds TLS encryption to the older FTP protocol.

Unlike AS2, SFTP has no built-in signed receipt. You know a file was uploaded, but not whether the trading partner picked it up and processed it, unless a functional acknowledgment or another response comes back. Polling schedules, folder naming and key changes are frequent causes of missed or duplicated files.

How SPICE™ handles it

SPICE™ exchanges files with trading partners and enterprise systems over SFTP, as well as AS2, APIs and EDI, and translates CSV, XML, flat files and spreadsheets into the structure each system expects. See security and integrations. SPICE Connect™ sets up and monitors these connections and handles the conversation with the trading partner when a file goes missing.

FAQ

Frequently asked questions

Can EDI be sent over SFTP?

Yes. An EDI file is a text file, so it can be transferred over SFTP like any other file. Many trading partners use SFTP for EDI, especially for scheduled batch exchanges. The trade-off is that SFTP does not return a delivery receipt the way AS2 does.

What is the difference between SFTP and FTPS?

SFTP is a separate protocol that runs over SSH. FTPS is the older FTP protocol with TLS encryption added. Both encrypt data in transit, but they use different ports, credentials and firewall setups, so a trading partner will specify which one it supports.