Camel SFTP - Cannot change directory to '/'

房东的猫 提交于 2019-12-05 15:06:21

I solved my issue after adding the camel SFTP option disconnect=true.

You have double slash, eg //home/tomcat/directory which indicates an absolute path.

Maybe try with, a single slash so its a relative path sftp://myserver.com:22/home/tomcat/directory

For me, camel version 2.17.1 fixed the issue. My previous versions that had the problem was 2.15.3 and 2.15.4.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!