I am getting this error
org.apache.camel.component.file.GenericFileOperationFailedException:
Cannot change directory to: NEW_NEAR_FILES
at
org.apache.camel.component.file.remote.SftpOperations.doChangeDirectory(SftpOperations.java:408)
at
org.apache.camel.component.file.remote.SftpOperations.changeCurrentDirectory(SftpOperations.java:393)
at
org.apache.camel.component.file.remote.SftpConsumer.doPollDirectory(SftpConsumer.java:77)
at
org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:49)
at
org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:83)
at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:97)
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: 4:
at com.jcraft.jsch.ChannelSftp.cd(ChannelSftp.java:280)
at
org.apache.camel.component.file.remote.SftpOperations.doChangeDirectory(SftpOperations.java:406)
... 14 more
Caused by: java.io.IOException: Pipe closed
at java.io.PipedInputStream.read(PipedInputStream.java:291)
at java.io.PipedInputStream.read(PipedInputStream.java:361)
at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java:2327)
at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java:2353)
at com.jcraft.jsch.ChannelSftp._realpath(ChannelSftp.java:1812)
at com.jcraft.jsch.ChannelSftp.cd(ChannelSftp.java:263)
... 15 more
Please tell me what this means and how to avoid this ?
--
View this message in context:
http://camel.465427.n5.nabble.com/check-remote-folder-using-ftp-tp4473453p4476172.html
Sent from the Camel - Users mailing list archive at Nabble.com.