Spring MVC 3.2.8: FtpInboundFileSynchronizer
Hey just try this configuration setup for FTP connection. Hope it will solve your problem. import java.util.List; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.integration.annotation.MessagingGateway; import org.springframework.integration.annotation.ServiceActivator; import org.springframework.integration.channel.DirectChannel; import org.springframework.integration.channel.interceptor.WireTap; import org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Option; import org.springframework.integration.ftp.gateway.FtpOutboundGateway; import org.springframework.integration.ftp.session.DefaultFtpSessionFactory; import org.springframework.integration.handler.LoggingHandler; import org.springframework.integration.handler.LoggingHandler.Level; import org.springframework.messaging.MessageChannel; @Configuration public class FtpConfiguration { @ServiceActivator(inputChannel = “ftpLS”) @Bean public FtpOutboundGateway getGW() { FtpOutboundGateway … Read more