You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "jayanta.p" <ja...@issac.in> on 2016/12/30 11:38:54 UTC
Accessing SFTP using Camel
Hi,
The scenaio is : One file would be dropped by external system in a 'REQ'
folder. It will picked up by Camel and process accordingly. Camel is already
configured like this :
Camel configuration Through XML DSL -
<route id="routepfms2">
<from
uri="ftps://jayantaftp@192.168.1.116:21/ReqFiles?password=123456;delete=true"/>
<to
uri="ftps://jayantaftp@192.168.1.116:21/ReqFilesBkUp?password=123456;noop=true"
/>
<doTry>
<process ref="systemProcessorIntl" />
<doCatch>
<exception>java.io.IOException</exception>
<exception>java.lang.IllegalStateException</exception>
<exception>java.lang.Exception</exception>
</doCatch>
</doTry>
</route>
But I can not access the files from source folder.
The Exception is showing as below -
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create
route routepfms2:
Route(routepfms2)[[From[ftps://jayantaftp@192.168.2.10:21/ReqFiles...
because of Failed to resolve endpoint:
ftps://sftp@192.168.2.10:21/ReqFiles?password=issac%40123%3BpassiveMode%3Dtrue%3Bdelete%3Dtrue
due to: No component found with scheme: ftps
Can you anybody please guide how to access SFTP / FTPS by accessing through
Camel ?
With Regards,
Jayanta P.
--
View this message in context: http://camel.465427.n5.nabble.com/Accessing-SFTP-using-Camel-tp5792012.html
Sent from the Camel Development mailing list archive at Nabble.com.