I can't see how to track uploads either, I would say this is definitely nice to have for next version.
Dan -----Original Message----- From: Sai Pullabhotla [mailto:sai.pullabho...@jmethods.com] Sent: December-23-08 6:56 AM To: ftpserver-users@mina.apache.org Subject: Re: Uploading: How to determine the file size > You can of course track the size while uploading, and break and reply > with an error when the quota is reached. I do not remember seeing anything for tracking the file size as a file is being uploaded? Not sure what exactly you meant by this. But I think it would be nice to send notifications to listeners (which could be the Ftplets) while a data transfer is in progress. Something to think about. Sai Pullabhotla Phone: (402) 408-5753 Fax: (402) 408-6861 www.jMethods.com On Fri, Dec 19, 2008 at 3:45 PM, Niklas Gustavsson <nik...@protocol7.com> wrote: > On Fri, Dec 19, 2008 at 10:28 PM, Dan <d...@tipjarawards.com> wrote: >> Then how can I implement storage quotas with this server without >> having to wait until the file is uplaoded, and then to check if it's too big? > > You can not, and that's a limitation in FTP protocol so other servers > would have the same issue. You can of course track the size while > uploading, and break and reply with an error when the quota is > reached. > > /niklas >