mirror of
https://github.com/veeso/termscp.git
synced 2026-04-06 02:01:34 -07:00
Added to FileTransferProtocol bool secure flag to Ftp
This commit is contained in:
@@ -87,7 +87,6 @@ impl ActivityManager {
|
||||
protocol: FileTransferProtocol,
|
||||
username: Option<String>,
|
||||
password: Option<String>,
|
||||
secure: bool
|
||||
) {
|
||||
self.ftparams = Some(FileTransferParams {
|
||||
address: address,
|
||||
@@ -95,7 +94,6 @@ impl ActivityManager {
|
||||
protocol: protocol,
|
||||
username: username,
|
||||
password: password,
|
||||
extra_flag_secure: secure,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -161,7 +159,6 @@ impl ActivityManager {
|
||||
_ => Some(activity.password.clone()),
|
||||
},
|
||||
protocol: activity.protocol.clone(),
|
||||
extra_flag_secure: activity.secure,
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user