Let's look at the XSD that the Spring Integration package has provided for FTP. This has all the schema definitions and gives us all the configuration possibilities that are supported by Spring, so it becomes easier to configure the XML file.
The XSD (http://www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd) offers a lot of information about the Spring integration with FTP. It gives us information about configuring the channel adapters in the XML configuration files.
The inbound and outbound channel adapters are the two main elements in the XSD. Here is an extract from the XSD available at the link we just mentioned:
<xsd:element name="outbound-channel-adapter">...</xsd:element> <xsd:element name="inbound-channel-adapter">...</xsd:element> ...