Skip to content

listDirectoryContent (OnlyNames) (Response: 500 'MLSD': command not understood)) #38

@lewinpauli

Description

@lewinpauli

with the listDirectoryContentOnlyNames() & listDirectoryContent() method I am getting the following exception:

FTPConnectException (FTPConnectException: Connection refused. (Response: 500 'MLSD': command not understood))

OS: Linux Fedora 40

other methods like checkFolderExistence() are working fine

example code:

import 'package:ftpconnect/ftpconnect.dart';

main() async {
  FTPConnect ftpConnect = FTPConnect('example.com', user: 'user', pass: 'pass');
  
  await ftpConnect.connect();
  
  List<String> DirectoryContent = await ftpConnect.listDirectoryContentOnlyNames();

  print('DirectoryContent: $DirectoryContent');

  await ftpConnect.disconnect();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions