I tried the suspend() command on the listener, but I could still make an FTP
connection to the IP address and port. A netstat -an also shows me the
ip-address and port are LISTENING.

I have checked the list of listeners in my embedded ftpserver, and the one
that I suspended has the *suspended* property set to *true*.

If it is suspended, how can I still make an FTP connection to it?

Regards


On Tue, Sep 14, 2010 at 12:28 PM, Niklas Gustavsson <[email protected]>wrote:

> On Tue, Sep 14, 2010 at 1:14 PM, Aidan Diffey <[email protected]>
> wrote:
> > I am stopping a listener with the *listener.stop()* command that stops
> the
> > listener and prevents FTP connections being made.
> >
> > When I start the listener again with *
> > listener.start(ftpServer.getServerConext())*, I get the following error
> when
> > I try to connect an FTP client. Does anyone have an idea what causes
> this?
>
> You can start a listener which has been stopped (our documentation
> should be improved to make this clear). Instead, you probably want
> suspend()/resume()
>
> /niklas
>

Reply via email to