listDirectoryContent method

Future<List<FTPEntry>> listDirectoryContent()

Returns the content of the current directory cmd refer to the used command for the server, there is servers working with MLSD and other with LIST

Implementation

Future<List<FTPEntry>> listDirectoryContent() {
  return FTPDirectory(_socket).directoryContent();
}