Sorry, you can't possibly have gotten the same exception because line 217
Caused by: org.springframework.core.NestedIOException: Failed to remove file: 2: File not found
at org.springframework.integration.sftp.session.SftpS ession.remove(SftpSession.java:68)
at org.springframework.integration.file.remote.synchr onizer.AbstractInboundFileSynchronizer.copyFileToL ocalDirectory(AbstractInboundFileSynchronizer.java :217)
...
is NOT executed when that attribute is false.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware