[ 
https://issues.apache.org/jira/browse/CAMEL-10841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Siano resolved CAMEL-10841.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.19.0
                   2.18.3
                   2.17.6

> Move operation will create a warning log message
> ------------------------------------------------
>
>                 Key: CAMEL-10841
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10841
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.17.5, 2.18.2
>            Reporter: Stephan Siano
>            Assignee: Stephan Siano
>            Priority: Minor
>             Fix For: 2.17.6, 2.18.3, 2.19.0
>
>
> I'm using an enpoint like this one : 
>  - 
> sftp://myserver/folder1/folder2?idempotent=true&stepwise=false&...&move=../archive
>  
> With 2.18.2, I have logs like this : 
> {noformat}
>   2017-02-15T13:23:47.314 [Camel (camel-1) thread #10 - 
> sftp://myserver/folder1/folder2] WARN  o.a.c.c.file.remote.SftpOperations - 
> Cannot delete file: folder1/folder2/../archive/myfile.txt
> com.jcraft.jsch.SftpException: No such file
>       at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873)
>       at com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1985)
>       at 
> org.apache.camel.component.file.remote.SftpOperations.deleteFile(SftpOperations.java:435)
>       at 
> org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.renameFile(GenericFileProcessStrategySupport.java:100)
> {noformat}
> the issue was introduced with CAMEL-10712
> Thanks to Guillaume Lundy for pointing that out



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to