On Sun, Mar 1, 2009 at 9:36 PM, Edward Scanzano <[email protected]> wrote:
> Where do I put the configuration file if I am in 100% embedded mode?
>
> How do I tell the ServerFactory (presume) where the configuration file is 
> located?

Either you can use the FtpServer API directly, in which case you do
not use any configuration file. Or, you can use Spring to load the
configuration file for you, if so, it would look something like:

BeanFactory factory = new XmlBeanFactory(new
FileSystemResource("yourconfigfile.xml"));
FtpServer server = (FtpServer) factory.getBean("TheIdOfYourServer");

/niklas

Reply via email to