AS2 vs SFTP
AS2 and SFTP are two common ways to transmit EDI documents between trading partners. AS2 provides built-in encryption, digital signatures and delivery receipts (MDN); SFTP is a simpler encrypted file transfer without those business-level guarantees unless added separately.
In short:AS2 and SFTP are two common ways to transmit EDI documents between trading partners. AS2 provides built-in encryption, digital signatures and delivery receipts (MDN); SFTP is a simpler encrypted file transfer without those built-in business-level features unless added separately. Each retailer's specification dictates which one you need, and the Web EDI portal handles both.
AS2 returns a signed Message Disposition Notification confirming exactly when a document was received, a built-in proof of delivery SFTP lacks natively.
SFTP is a straightforward encrypted file transfer, often used by retailers with simpler infrastructure or lower document volumes.
Which protocol you need isn't up to you: it's dictated by each retailer's specification, and larger retailers more often require AS2.
EDIconnect's Web EDI portal manages AS2, OFTP2, SFTP, Peppol and VAN connections under the hood: you work in the portal regardless of which protocol a given retailer requires.
AS2 (Applicability Statement 2) is a protocol designed specifically for exchanging structured B2B documents over HTTP/HTTPS. It packages the EDI file with encryption and a digital signature, and the receiving party returns a Message Disposition Notification (MDN), itself signed: confirming the exact document was received intact. This built-in, verifiable receipt is why many large retailers standardized on AS2: it provides evidence of delivery without needing a separate acknowledgment process.
SFTP (SSH File Transfer Protocol) is a general-purpose method for securely transferring files over an encrypted SSH connection. It doesn't have a concept of 'documents' or built-in delivery receipts: it simply moves files from one location to another securely. For EDI purposes, SFTP is often paired with a separate acknowledgment message (like an EDIFACT CONTRL or X12 997) to confirm receipt, since the protocol itself doesn't provide one.
In practice, a supplier rarely gets to choose between AS2 and SFTP freely, each retailer's EDI specification dictates which protocol (or protocols) it supports, and the supplier has to comply. Some retailers offer a choice; others mandate AS2 specifically because of its non-repudiation properties, particularly for high-value transactions like invoices.
This is one of the reasons Web EDI exists: rather than a supplier needing to set up and maintain both an AS2 gateway and an SFTP client internally, EDIconnect's platform handles the required transport for each retailer automatically. You work from a consistent web portal or through your ERP, and the platform manages whichever protocol, AS2, OFTP2, SFTP, Peppol or VAN: each trading partner requires behind the scenes.
AS2 is a transport standard built specifically for B2B document exchange, with encryption, digital signatures and a signed receipt (MDN) confirming delivery. SFTP is a general-purpose secure file transfer protocol that encrypts data in transit but doesn't include a built-in business-level delivery receipt.
It varies by retailer. Some require AS2 specifically for its non-repudiation and delivery-confirmation properties, while others accept SFTP, especially for lower-volume or simpler integrations. EDIconnect configures whichever protocol each of its 25+ supported retailers requires.
Both encrypt data in transit. AS2 adds digital signing and a delivery receipt (MDN) that provides evidence a specific document was received, which SFTP does not provide by default.
No. With EDIconnect's Web EDI portal, the required protocol per retailer is configured automatically as part of onboarding, you don't need to set up or manage the transport layer yourself.
Yes, and this is common. A supplier connected to several retailers often ends up using a mix of protocols depending on each partner's requirements, all managed centrally through the Web EDI portal.
Peppol is a separate network and message exchange framework, increasingly used for e-invoicing across Europe. EDIconnect supports Peppol alongside AS2, OFTP2, SFTP and VAN connections.
Demo with a real use case adapted to your retailers and ERP. No commitment.