On 25 November 2010 11:55, Aidan Diffey <[email protected]> wrote:

> From what I can see, the DefaultFTPLet code does nothing on the
> onDownloadStart() command. This returns null which causes the default
> execute in the RETR class to be called.
>
> I am returning FtpletResult.SKIP which causes the default RETR command
> to NOT be executed.
>
> So I think I am okay doing implementation in my FTPLet onDownloadStart()
> method.
>
>
That's fine, except that you're skipping all the data connection handling
stuff that Apache ftpserver provides, and will have to write your own.

-- 
"There is no way to peace; peace is the way"

Reply via email to