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

FTP Inbound Channel Adapter prompts Local File already exists even the first time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.11
    • Fix Version/s: 5.0 M3
    • Component/s: FTP/SFTP Support
    • Labels:
      None

      Description

      The FTP Inbound Channel Adapter prompts Local File already exists even the first time (but the file could be successfully downloaded)

      12:06:10.007 [task-scheduler-8] INFO  o.s.i.ftp.session.FtpSession - File has been successfully transferred from: /test.csv
      12:06:10.014 [task-scheduler-8] INFO  o.s.i.f.FileReadingMessageSource - Created message: [GenericMessage [payload=c:\test.csv, headers={id=ea8b466a-2c16-dfd5-1525-2cb9782d04df, timestamp=1501646770013}]]
      12:06:10.016 [task-scheduler-8] WARN  o.s.i.f.i.FtpInboundFileSynchronizer - The remote file '-r--r--r-- 1 ftp ftp           3676 Aug 02 11:37 test.csv' has not been transferred to the existing local file 'c:\test.csv'. Consider removing the local file.
      
          <int-ftp:inbound-channel-adapter id="ftpInBoundChannel"
                                           channel="nullChannel"
                                           session-factory="cachingSessionFactory"
                                           remote-directory-expression="@myFtpInfo.remoteDirectory"
                                           local-directory="c:/">
              <int:poller cron="10 * * * * ?" max-messages-per-poll="-1" />
          </int-ftp:inbound-channel-adapter>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              simonwg Simon Wong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: