final ListenerFactory factory = new ListenerFactory();
factory.setPort(FTP_PORT);
//factory.setIdleTimeout(IDLE_TIMEOUT);
serverFactory.addListener("default", factory.createListener());
It seems to be working now after a reboot. No idea what could have been
causing it, most likely something broken on my computer=).
Anyway sorry to bug with something like this =)
On Fri, May 15, 2009 at 13:45, Niklas Gustavsson <[email protected]>wrote:
> On Fri, May 15, 2009 at 1:40 PM, Petter Holone <[email protected]> wrote:
> > Apperantly my message is spam =)
> >
> >
> > http://tubasoft.pastebin.com/m4fc0f237
>
> Would it be possible to set up log4j to log at debug level so that we
> see what FtpServer does?
>
> Also, you're code doesn't show where and how you set the port.
>
> /niklas
>
--
mvh
Petter Holone
Zirius
(+47) 97 95 61 07