Spring Integration
  1. Spring Integration
  2. INT-2664

AbstractInboundFileSynchronizer doesn't preserve file change timestamp

    Details

      Description

      For most of file transfer protocols, remote file change timestamp is available. But it's lost during synchronization, as long as we don't explicitly set it to newly created file.

        Activity

        Hide
        Gary Russell added a comment -

        Consider using the outbound gateway, with 'ls' command, a splitter, and another gateway using 'get -P' on each file; see the sample here https://github.com/SpringSource/spring-integration-samples/tree/master/basic/ftp and gateway documentation here http://static.springsource.org/spring-integration/docs/2.1.3.RELEASE/reference/html/ftp.html#ftp-outbound-gateway

        Show
        Gary Russell added a comment - Consider using the outbound gateway, with 'ls' command, a splitter, and another gateway using 'get -P' on each file; see the sample here https://github.com/SpringSource/spring-integration-samples/tree/master/basic/ftp and gateway documentation here http://static.springsource.org/spring-integration/docs/2.1.3.RELEASE/reference/html/ftp.html#ftp-outbound-gateway
        Show
        Artem Bilan added a comment - PR: https://github.com/spring-projects/spring-integration/pull/937
        Hide
        Gary Russell added a comment -

        Merged

        Show
        Gary Russell added a comment - Merged

          People

          • Assignee:
            Artem Bilan
            Reporter:
            Ilja
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: