I have read through some documentation provided by apache server for integrating with spring.
There is still block non-explained, between the main configuration which talks to FTP server.
Please help me make this work.
I'm not 100% sure what you're trying to do, however if you just want to embed Apache's Mina project with Spring, then you might consult my blog post from a few years go (it might very well be out dated, I'm afraid): http://www.joshlong.com/jl/blogPost/embedding_the_apache_mina_ftp_server.html. If you want to use something from Spring (like Spring Integration) to consume data frm an FTP/SFTP/FTPS broker, then check out Pro Spring Integration, as it covers how the Spring Integration support for FTP/SFTP/FTPS works.
Thanks, Josh Long
Spring Developer Advocate, SpringSource, a division of VMware
http://blog.springsource.org - http://www.joshlong.com