fileSize method

Future<void> fileSize(
  1. String filePath
)

Implementation

Future<void> fileSize(String filePath) async {
  try {
    int size = await fileOperations.fileSize(filePath);
    sendResponse('213 $size');
  } catch (e) {
    sendResponse('550 Failed to get file size');
    logger.generalLog('Error getting file size: $e');
  }
}