This configuration worked perfectly for me before we upgraded the spring boot to 2.4.2 version.
DefaultFtpsSessionFactory sessionFactory = new DefaultFtpsSess