In this section, let's look at the two core classes for FTP using Spring integration,
FTPSSessionFactory. These classes have lot of getters, setters, and instance variables, which give information about the data, file, and FTP mode. The instance variables and their usage are described as follows:
org.springframework.integration.ftp.session.DefaultFtpSessionFactory is used to configure the FTP details in the application. The class is configured as a simple bean in the configuration XML file .The class has getters and setters for the following:
Session: This accepts session variables.
postProcessClientAfterConnect: This handles additional initialization after the client connection ...