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();
}