Hi Niklas, Thanks, this is good info.
How about throttling on the fly based on some events, for e.g. a user has already uploaded ten files in the current ftp session and we want to slow him down on the 11th file onwards? Can we get that work in Apache ftp server. Setting the throttling levels at login is too early for us to decide it we want to throttle the user or not. Thanks Sachin -----Original Message----- From: Niklas Gustavsson [mailto:[email protected]] Sent: Wednesday, April 13, 2011 1:23 PM To: Nitish Bangera; [email protected] Subject: Re: Custom Bandwidth Throttling On Tue, Apr 12, 2011 at 4:26 PM, Nitish Bangera <[email protected]> wrote: > Yes i am talking about the ftpserver. As the ftpserver uses the mina in the > backend so i addressed mina to be supporting throttling. Cool, then we know the context. FtpServer supports bandwidth throttling of data transfers, not control connections. Data transfers are not done using MINA (control connections uses MINA) and thus, throttling is not done using MINA. Back to the question: if using the file base user manager, you configure the upload/download transfer rates as: ftpserver.user.<username>.uploadrate=123 ftpserver.user.<username>.downloadrate=123 123 is in bytes per second. Our documentation in this area is lacking, but you can find the documentation in the Javadocs for PropertiesUserManager. /niklas
