Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4059

Using filter on mget method at AbstractRemoteFileOutboundGateway is not possible

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.1.8
    • Fix Version/s: 4.3 M1
    • Component/s: FTP/SFTP Support
    • Labels:
      None

      Description

      In our project we are using the outbound-gateway to download files from an ftp server.
      To avoid downloading files that are not complete on the ftp server we want to use a custom filter. (we cannot use the standard functionality because our customers are uploading files without temporary file suffix).
      In the configuration we set our custom filter and the mget command.
      But I have seen that the filter is not used.
      After reading the source I have seen that the filter is only used when using the recursive option. Only in that case the mGet method from AbstractRemoteFileOutboundGateway is going to use the ls- method and with this the filter.
      For our project we could solve this problem with this option – but may be this is a bug (and if this is not a feature).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              kneumann Kai-Ingo Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: