2. SFTP Connector
The SFTP Connector implements a secure file transport channel so that your Mule
application can exchange files with external resources. SFTP uses the SSH security
protocol to transfer messages. You can implement the SFTP endpoint as an
inbound endpoint with a one-way exchange pattern, or as an outbound endpoint
configured for either a one-way or request-response exchange pattern.
3. Configuration
SFTP endpoint configuration consists of two stages:
Decide where you want to place the SFTP endpoint within your Mule flow, then drag it
from the Palette to the appropriate place in the sequence of building blocks that make
up your Mule flow.
If you place the SFTP endpoint at the beginning of the flow, it acts as an inbound
endpoint (a message source), triggering the flow whenever it receives a message. (You
can also use the Composite Source scope to wrap the SFTP endpoint along with other,
similar endpoints (such as File or UDP) so that your flow can receive files through
multiple transport channels).
If you place the SFTP building block in the middle or at the end of the flow, it serves as
an outbound endpoint, passing information out of the flow to external resources.