Our application will be reading and writing files to FTP folder with directory structure {date}/{usercode}/*. We are trying to use sftp inbound adapter.
<int-sftp:inbound-channel-adapter
id="sftpInboundAdapter"
channel="filesIn"
filename-pattern="*.xml"
session-factory="sftpSessionFactory"
remote-directory="file:${fileserver.input.path}"
local-directory="file:${fileserver.output.path}"
delete-remote-files="false"
</int-sftp:inbound-channel-adapter>
is there a way to set custom directory scanner for sftp inbound adapter?