Hi, thanks for your answer. I will try this: JSch jsch=new JSch(); Session session=jsch.getSession(userName, sftpUri); session.setProxy(new ProxySOCKS5(proxyHost, proxyPort)); SftpEndpoint sftpEndpoint = context.getEndpoint(sftpUri, SftpEndpoint.class); sftpEndpoint.createChannelSftp(session)
davsclaus wrote: > > Hi > > I think Camel uses JSCH for SFTP. > http://www.jcraft.com/jsch/ > > Let me know how it goes, I would gladly improve the Camel wiki > documentation if you get it working. > > /Claus > > > borgel wrote: >> >> Hi, >> >> I need to send a file to a sftp server. I am behind a proxy and needs to >> configure a sftp proxy. How do I configure the proxy? >> >> Regards >> Børge. >> > > -- View this message in context: http://www.nabble.com/ftp-endpoint-and-proxy-tp16396275s22882p16416902.html Sent from the Camel - Users mailing list archive at Nabble.com.
