You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2013/07/05 19:45:51 UTC

[jira] [Resolved] (CAMEL-6266) Support for SFTP through a proxy

     [ https://issues.apache.org/jira/browse/CAMEL-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller resolved CAMEL-6266.
-------------------------------------

    Resolution: Fixed

Thanks for the contribution Joakim. I already updated the WIKI with the new option. It would be nice, if you could have a look at it.
                
> Support for SFTP through a proxy
> --------------------------------
>
>                 Key: CAMEL-6266
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6266
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>            Reporter: Joakim Ek
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.1, 2.12.0
>
>         Attachments: sftp_proxy.patch
>
>
> FTP and FTPS have the 'ftpClient' option that allows the use of a custom org.apache.commons.net.ftp.FTPClient instance. I.e. org.apache.commons.net.ftp.FTPHTTPClient to access a FTP server through a HTTP proxy.
> SFTP currently lacks proxy support in Camel. The used JSch library however has support for proxies.
> This patch adds a SFTP only option 'proxy' which allows passing in an instance of com.jcraft.jsch.Proxy to JSch. This enables the use of SFTP through HTTP, SOCKS4 and SOCKS5 proxies.
> Included are two new basic unit tests using [Little Proxy|http://www.littleshoot.org/littleproxy/] to verify consuming and producing through a HTTP proxy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira