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