You need to have your own FileSystemView and FtpFile. In the FtpFile, there are 
two methods createInputStream and createOutputStream. Pass your own child class 
for inputstream and outputstream, override read and write respectively and 
accordingly show your progress.


________________________________
 From: Nick Yang <yr.n...@gmail.com>
To: ftpserver-users@mina.apache.org 
Sent: Wednesday, 19 June 2013, 19:55
Subject: Re: how can get file downloading progress?
 

thank you! I have been defined a ftplet class for myself already, but the
onDownloadEnd and onDownloadStart function can not get downloading
progress.  My mean  is to get a percent of the file downloading from
server. how do to it?


2013/6/19 John Hartnup <john.hart...@gmail.com>

> Look at the ftplet interface.
> https://cwiki.apache.org/FTPSERVER/ftplet.html
>
> Specifically the onDownloadEnd() method.
>
>
> On 19 June 2013 12:02, Nick Yang <yr.n...@gmail.com> wrote:
>
> > hello everyone, I want to design a monitor for the ftpserver. How can i
> get
> > the downloading progress when the client download file from ftpserver?
> >
>
>
>
> --
> "There is no way to peace; peace is the way"
>

Reply via email to