Added to FileTransferProtocol bool secure flag to Ftp

This commit is contained in:
ChristianVisintin
2020-12-03 08:16:07 +01:00
parent 9b26b5b99d
commit a328a4f751
6 changed files with 38 additions and 80 deletions

View File

@@ -39,7 +39,7 @@ pub mod sftp_transfer;
#[derive(std::cmp::PartialEq, std::fmt::Debug, std::clone::Clone)]
pub enum FileTransferProtocol {
Sftp,
Ftp,
Ftp(bool), // Bool is for secure (true => ftps)
}
/// ## FileTransferError