I'm using Spring Integration to code FTP-Client for remote files synchronization. So how can I fetch files from remote FTP-Server through proxy? Or does DefaultFtpSessionFactory
(or CachingSessionFactory
) deal with this problem?
1
votes
1 Answers
1
votes
FTPHTTPClient provides you support to inject in the PROXY HOST and PROXY PORT. This link might give some light on how to pass these information to FTPHTTPClient https://commons.apache.org/proper/commons-net/examples/ftp/FTPClientExample.java
You need a way to create an instance of FTPHTTPClient while calling createClientInstance() method.