public static void fileMD5(List<ArgumentWrapper> argsArray, Session currentSession) { // Get path from arguments String path = Common.getParamString(argsArray, "path"); try { // Send the number of bytes in the file currentSession.sendFullTransmission(Common.md5SumFile(path), ""); } catch (Exception e) { currentSession.sendFullTransmission("", e.getMessage()); } }