问题描述
我能够使用骆驼路由定义中的以下 uri 从 sftp 目录成功下载一个/所有文件
my uri exp:
sftp://[username@]hostName[:port]/directoryName[?options]
当我使用选项时
&move=.done
o.a.c.c.file.remote.SftpOperations : Cannot delete file:
********************txt
com.jcraft.jsch.SftpException: No such file
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873) ~[jsch-0.1.54.jar:na]
at com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1985) ~[jsch-0.1.54.jar:na]
at org.apache.camel.component.file.remote.SftpOperations.deleteFile(SftpOperations.java:438) ~[camel-ftp-2.20.2.jar:2.20.2]
at org.apache.camel.component.file.strategy.GenericFileProcessstrategySupport.renameFile(GenericFileProcessstrategySupport.java:100)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)