Sai, Yes, it is file zilla and you are right, its opening new control connections.
But limiting based on IPs is very restrictive one since a lot of users could be behind the same firewall or proxy. Thanks Sachin -----Original Message----- From: Sai Pullabhotla [mailto:sai.pullabho...@jmethods.com] Sent: Wednesday, November 09, 2011 2:10 AM To: ftpserver-users@mina.apache.org Subject: Re: Limiting no of data connections per control connection Is it not already supported due to the limitation we currently have in the code - in which only control connections are asynchronous and data connections are synchronous? This means while a file transfer command (get) is running control connection won't accept and/or process new commands that the client might send. Also, I want to make sure that the original poster actually noticed this behavior with some FTP client. I do know that some clients like FileZilla open upto a specific number of connections to do simultaneous transfers. However, they do it by opening a brand new control channel, not one control channel and multiple data channels. If this is the case, then we do have a special permission on the user to indicate how many concurrent logins are allowed from a specific IP. Hope it makes sense/helps. Feel free to correct me if I got it all incorrect. Thanks. On Tue, Nov 8, 2011 at 2:09 PM, Niklas Gustavsson <nik...@protocol7.com>wrote: > On Tue, Nov 8, 2011 at 2:31 PM, Sachin Shetty <sshe...@egnyte.com> wrote: > > It seems FTP clients have a way to run multiple concurrent transfers. We > > want to limit a user session to only initiate one data connection per > > session at a time. Is there a way to configure that in Apache FTP? > > This is unfortunately not supported out of the box, but should be > fairly straight forward to implement in IODataConnectionFactory. > Should you get to do it, I'm sure we would be interested in including > it in the core project if that's a possibility. > > /niklas > -- Sai Pullabhotla