[ https://issues.apache.org/jira/browse/CAMEL-13011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722964#comment-16722964 ]
Andrea Cosentino commented on CAMEL-13011: ------------------------------------------ Ask on the users mailing list first. The Jira is for tracking real issues and not for questions. > how to in camel-sftp uploaded files after used camel-ssh pollcommand feature? > ----------------------------------------------------------------------------- > > Key: CAMEL-13011 > URL: https://issues.apache.org/jira/browse/CAMEL-13011 > Project: Camel > Issue Type: Bug > Components: camel-sftp, camel-ssh > Affects Versions: 2.21.1 > Environment: java 1.8 > spring boot 1.15.x > centos 7 > > Reporter: twlhack > Priority: Major > > {code:java} > from("file:I:/workProject/java/xxxx/luaFiles/").multicast().to("direct:a", > "direct:b").end().to("direct:c"); > from("direct:a").to("sftp://root@192.168.56.14/xxxx/controllers/gen/?password=root&stepwise=true&runLoggingLevel=TRACE&throwExceptionOnConnectFailed=true&idempotent=true"); > from("direct:b").to("sftp://root@192.168.56.14/?password=root&stepwise=true&runLoggingLevel=TRACE&throwExceptionOnConnectFailed=true&idempotent=true"); > from("direct:c").to("ssh://root:root@192.168.56.14?pollCommand=reboot%0A").log(" > uploaded success !${body}"); > {code} > In after uploaded files completed , I want to send command to remote sever > do nginx -s reload > etc operation!! > -- This message was sent by Atlassian JIRA (v7.6.3#76005)