enterExtendedPassiveMode method

Future<void> enterExtendedPassiveMode()

Implementation

Future<void> enterExtendedPassiveMode() async {
  dataListener = await ServerSocket.bind(InternetAddress.anyIPv4, 0);
  int port = dataListener!.port;
  sendResponse('229 Entering Extended Passive Mode (|||$port|)');
  dataListener!.first.then((socket) {
    dataSocket = socket;
    // sendResponse('229 Entering Extended Passive Mode (|||$port|)');
  });
}