[ 
https://issues.apache.org/activemq/browse/CAMEL-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48654#action_48654
 ] 

Paddy Daly commented on CAMEL-1247:
-----------------------------------

Its processing the file ok now, however it fails to put the file into the done 
directory and throws the following exception.

[te.remotefilecompon...@1c1e333] SftpConsumer                   ERROR Cannot 
delete file: /test1/inc
oming/.done/New Text Document.txt
org.apache.camel.component.file.remote.RemoteFileOperationFailedException: 
Cannot delete file: /test
1/incoming/.done/New Text Document.txt
        at 
org.apache.camel.component.file.remote.SftpRemoteFileOperations.deleteFile(SftpRemoteFile
Operations.java:138)
        at 
org.apache.camel.component.file.remote.strategy.RenameRemoteFileProcessStrategy.renameFil
e(RenameRemoteFileProcessStrategy.java:71)
        at 
org.apache.camel.component.file.remote.strategy.RenameRemoteFileProcessStrategy.commit(Re
nameRemoteFileProcessStrategy.java:65)
        at 
org.apache.camel.component.file.remote.RemoteFileConsumer.processStrategyCommit(RemoteFil
eConsumer.java:215)
        at 
org.apache.camel.component.file.remote.RemoteFileConsumer$1.done(RemoteFileConsumer.java:
170)
        at 
org.apache.camel.processor.UnitOfWorkProcessor$1.done(UnitOfWorkProcessor.java:57)
        at 
org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java
:74)

> SFTP : Polling - Cannot list directory Error
> --------------------------------------------
>
>                 Key: CAMEL-1247
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1247
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>         Environment: Windows Xp
>            Reporter: Paddy Daly
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>         Attachments: example.log, example.log
>
>
> http://www.nabble.com/SFTP-%3A-Polling---Cannot-list-directory-to21413159s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to