handleFeat method
Implementation
void handleFeat(FtpSession session) {
// RFC 2389: FEAT only lists extensions not in RFC 959
// PASV is a base command and must not appear here
session.sendResponse('211-Features:');
session.sendResponse(' SIZE');
session.sendResponse(' MDTM');
// RFC 3659 ยง7.8: advertise MLST with supported facts (MLSD is implied)
session.sendResponse(' MLST type*;size*;modify*;');
session.sendResponse(' EPSV');
session.sendResponse(' UTF8');
if (session.securityMode != FtpSecurityMode.none) {
session.sendResponse(' AUTH TLS');
session.sendResponse(' PBSZ');
session.sendResponse(' PROT');
}
session.sendResponse('211 End');
}