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