openDataConnection method

Future<bool> openDataConnection()

Implementation

Future<bool> openDataConnection() async {
  await _gettingDataSocket;
  if (dataSocket == null) {
    sendResponse('425 Can\'t open data connection');
    return false;
  }
  sendResponse('150 Opening data connection');
  return true;
}