This is the relevant part of my mule-config
<ftp:connector name="ftp.connector" streaming="true"/>
<flow name="ftp2file">
<ftp:inbound-endpoint connector-ref="ftp.connector" host="xxx" port="21" path="/path" user="test" password="test"/>
<file:outbound-endpoint path="/newPath" outputPattern="#[header:originalFilename]"/>
</flow>
Files on FTP
server gets deleted when streaming is disabled but files stays on in my case when streaming is enabled.
I've 2 questions:
- Why is behavior internally different for streaming versus non streaming
- How can I delete files on FTP server in my case