Panic on FTP

This commit is contained in:
ChristianVisintin
2020-11-29 17:51:45 +01:00
parent 9098c03886
commit 57a167ef5a

View File

@@ -225,7 +225,7 @@ impl FileTransferActivity {
params: params,
client: match protocol {
FileTransferProtocol::Sftp => Box::new(SftpFileTransfer::new()),
FileTransferProtocol::Ftp => Box::new(SftpFileTransfer::new()), // FIXME: FTP
FileTransferProtocol::Ftp => panic!("FTP is not supported YET!"), // FIXME: FTP
},
local: FileExplorer::new(),
remote: FileExplorer::new(),