SFTP Connector Examples - Mule 4
To fully benefit from using Anypoint Connector for SFTP (SFTP Connector), see the following examples of configuring the connector operations:
Read a File
Configure the Read operation to read a file at any point in the flow.
Write a File
Configure the Write operation to write content into the given path on demand.
Configure the List operation to list the files and folders in the configured directory path.
Copy and Move Files
Configure the Copy and Move operations to copy or move files or directories on demand.
Create a Directory
Configure the Create Directory operation to create a directory of a given name.
Trigger a Flow for a New Created or Updated File
Configure the On New or Updated File source to trigger a flow for a new created or modified file.
Connect to an SFTP Server
Configure the SFTP global configuration element to connect to an SFTP server, or to connect to an SFTP server through a proxy.
Connect to SFTP Servers Dynamically
Configure SFTP Connector to connect dynamically to multiple servers.
Disable pooling in SFTP Configuration
Disable connection pooling in SFTP Connector configuration to make sure no connection is active if there is nothing to transfer.
Configure Preferred Authentication
Configure the preferred authentication for the SFTP Connection.