ServerFtpStatistics ftpStat = (ServerFtpStatistics)context.getFtpStatistics();
ftpStat.setDelete(session, file);
// call Ftplet.onDeleteEnd() method
try{
ftpletRet = ftpletContainer.onDeleteEnd(session.getFtpletSession(), request);
} catch(Exception e) {
LOG.debug("Ftplet container threw exception", e);
ftpletRet = FtpletEnum.RET_DISCONNECT;
}
if(ftpletRet == FtpletEnum.RET_DISCONNECT) {