Search code examples
springspring-integrationspring-integration-sftp

Spring integration 4.3.12 - Is there a LastModifiedFileListFilter for SFTP?


I have searched the documents and cannot see a LastModifiedFileListFilter for SFTP.


Solution

  • There's indeed no such an implementation for SFTP.

    It's not so hard so to copy/paste existing LastModifiedFileListFilter and apply logic for the LsEntry and its getAttrs().getMTime().

    With our SftpStreamingMessageSource I even start thinking that we need to provide out-of-the-box implementation for such a lastmodified logic.

    Feel free to raise a JIRA on the matter.