mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Added to FileTransferProtocol bool secure flag to Ftp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user