diff --git a/lib/oto/commands/ftp/ftp.dart b/lib/oto/commands/ftp/ftp.dart index e71f757..24aa909 100644 --- a/lib/oto/commands/ftp/ftp.dart +++ b/lib/oto/commands/ftp/ftp.dart @@ -168,16 +168,16 @@ class FTP { for (var item in list) { FileType? type; switch (item.type) { - case FTPEntryType.DIR: + case FTPEntryType.dir: type = FileType.directory; break; - case FTPEntryType.FILE: + case FTPEntryType.file: type = FileType.file; break; - case FTPEntryType.LINK: + case FTPEntryType.link: // TODO: Handle this case. break; - case FTPEntryType.UNKNOWN: + case FTPEntryType.unknown: // TODO: Handle this case. break; }