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?
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
thank sam, I try to do it now!
2013/6/19 Sam Mizanin sammyuglykid...@yahoo.com
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
ok, I got the progress of file downloading.
1) I create two new class MyFileSystemView and MyFtpFile
public class MyFtpFile extends NativeFtpFile {
private CountingInputStream InputCount = null;
private CountingOutputStream OutputCount = null;
protected MyFtpFile (final String