removeDirectory method
Implementation
void removeDirectory(String dirname) async {
try {
await fileOperations.deleteDirectory(dirname);
sendResponse('250 Directory deleted');
} catch (e) {
sendResponse('550 Failed to delete directory $e');
logger.generalLog('Error deleting directory: $e');
}
}