File Connector Examples - Mule 4
To fully benefit from using Anypoint Connector for File (File 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.
Trigger a Flow for a Newly Created or Updated File
Configure the On New or Updated File source to trigger a flow for a new created or modified file.