camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexey-s <>
Subject Re: FTP over Proxy
Date Mon, 21 Oct 2013 12:00:02 GMT
Good afternoon.

Let's go back to the history of the issue. The discussion was offered

Check the description FTPS component in
SFTP component uses this functionality.

What prevents the FTP component to pass through a proxy?
FtpEndpoint creates commons-net FTPClient.

GenericFileComponent create endpoint
endpoint = buildFileEndpoint (uri, remaining, parameters);

After creating the endpoint initialization of parameters
        setProperties(endpoint, parameters);

The main component, commons-net FTPClient, not configurable.
We need to manually set SocketFactory.

It would be logical to make the identification of parameters for ftpClient

I posted on GitHub implementation of the system passing proxy.

This component recognizes the parameter ftpClient.proxyUrl
When you create an endpoint sets the desired soketFactory.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message