List of usage examples for org.springframework.integration.ftp.session FtpSession FtpSession
public FtpSession(FTPClient client)
From source file:org.springframework.integration.ftp.session.AbstractFtpSessionFactory.java
public Session<FTPFile> getSession() { try {//w w w. ja v a 2s . com return new FtpSession(this.createClient()); } catch (Exception e) { throw new IllegalStateException("failed to create FTPClient", e); } }