I want to retrieve Ftplet from FtpServerFactory. Could you please give
the example configuration file to configure FtpServerFactory? So I can
load the factory as Bean.

-----Original Message-----
From: Niklas Gustavsson [mailto:[email protected]] 
Sent: Friday, November 13, 2009 6:51 PM
To: [email protected]
Subject: Re: Loading Ftplets from configuration file

On Fri, Nov 13, 2009 at 11:13 AM, Mahboob Alam Khalid
<[email protected]> wrote:
> My question is that if I configure Ftplets, as in the example, then
how
> I can access to those Ftplets. Because in the API FtpServer has no
> function getFtplets().

>From where do you want to retrieve Ftplets? For example, you can get
them from FtpServerFactory.getFtplets() or from FtpletContext and
FtpServerContext which is available in for example Ftplets and
Commands.

> Now this function is part of FtpServerFactory(). Or is it possible to
> configure FtpServerFactory and load the factory as Bean?

Yes, that is also possible.

/niklas

Reply via email to