You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Niklas Gustavsson <ni...@protocol7.com> on 2008/04/29 10:20:01 UTC

Re: [FtpServer] Dropping support for the admin GUI

Hi Zorgan

Please send emails regarding FtpServer to the mailing list, that way
everyone interested can participate in the discussion.

On Tue, Apr 29, 2008 at 10:12 AM, Zorgan <la...@gmail.com> wrote:
> Hi Niklas,
>
> PLEASE don't drop support for the admin GUI! ;-)

Well, I would certainly like seeing something like it around. However,
my time and knowledge in Swing is quite limited so I can not maintain
it. If someone volunteers to maintain it I would certainly help out
with applying patches and similar.

> In fact, it is a very good example to discover very quickly how to make the
> most benefits from the Apache FTP server.

Agreed.

> I embeded the Apache FTP server in one of my applications. But i don't just
> start and stop the server. Sometimes, I have to stop the download operation
> for a specific client, so I use the following kind of code :
>
> List<Connection> connections =
> ftpServer.getServerContext().getConnectionManager().getAllConnections();
> for (Connection con : connections)
> {
>
> if(con.getSession().getClientAddress().toString().equals("/"+myClient.getAddress())
>         &&
> con.getSession().getUser().getName().equals(myClient.getFtpUser()))
>     {
>        // stop the download ...
>     }
> }

This is a good example of what I would like a JMX API to support.

/niklas