changeToParentDirectory method

void changeToParentDirectory()

Implementation

void changeToParentDirectory() {
  try {
    fileOperations.changeToParentDirectory();
    sendResponse('250 Directory changed to $currentDirectory');
  } catch (e) {
    sendResponse('550 Access denied or directory not found $e');
    logger.generalLog('Error changing to parent directory: $e');
  }
}