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
