[
https://issues.apache.org/activemq/browse/CAMEL-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48650#action_48650
]
Paddy Daly commented on CAMEL-1247:
-----------------------------------
I still get an error in SftpRemoteFileOperations
Vector files = channel.ls(path);
when path equals "incoming"
WARN An exception occured while polling: Endpoint[sftp://[email protected]]:
Cannot list directory: incoming
org.apache.camel.component.file.remote.RemoteFileOperationFailedException:
Cannot list directory: incoming
at
org.apache.camel.component.file.remote.SftpRemoteFileOperations.listFiles(SftpRemoteFileOperations.java:270)
at
org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:47)
at
org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:53)
at
org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:53)
at
org.apache.camel.component.file.remote.RemoteFileConsumer.poll(RemoteFileConsumer.java:65)
at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: 2: SfsStatusCode.NoSuchFile
at com.jcraft.jsch.ChannelSftp.throwStatusError(Unknown Source)
at com.jcraft.jsch.ChannelSftp.stat(Unknown Source)
at com.jcraft.jsch.ChannelSftp.ls(Unknown Source)
at
org.apache.camel.component.file.remote.SftpRemoteFileOperations.listFiles(SftpRemoteFileOperations.java:264)
... 14 more
[te.remotefilecompon...@100d6ea] ScheduledPollConsumer
> 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.