Hi All,
I want to know that it is possible to load ftplets from the configuration file in the new API. In the old version, I can load the bean using XMLBeanFactory and then call FtpServer.getFtplets(). Now this function getFtplets() is part of FtpServerFactory class. If I load the bean then how I can get Ftplets in the new version? <server xmlns="http://mina.apache.org/ftpserver/spring/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation="http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd" id="ftpServer"> <listeners> <nio-listener name="default" port="21"> <ssl> <keystore file="./etc/ftpserver.jks" password="password" /> </ssl> </nio-listener> </listeners> <ftplets> <ftplet name="ftplet1"> <beans:bean class="com.ftpd.MyFtplet"> <beans:property name="command" value="./bin/complete.sh" /> </beans:bean> </ftplet> </ftplets> <file-user-manager file="./etc/users.properties" /> </server> Mahboob A. Khalid Software Engineer Betronic Nederland BV Pedro de Medinalaan 11, 1086 XK PO Box 37505, 1030 AM Amsterdam, The Netherlands www.betronic.nl <http://www.betronic.nl/> Registration no. 34227208 M +31 (0)6 243 59 726 T +31 (0)20 59 22 300 F +31 (0)20 66 51 061
