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

@@ -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;
}