mirror of
https://github.com/veeso/termscp.git
synced 2026-04-06 18:21:44 -07:00
Deleted ScpProtocol; use FileTransferProtocol
This commit is contained in:
@@ -42,7 +42,7 @@ mod utils;
|
||||
|
||||
// namespaces
|
||||
use activity_manager::{ActivityManager, NextActivity};
|
||||
use ui::activities::auth_activity::ScpProtocol;
|
||||
use filetransfer::FileTransferProtocol;
|
||||
|
||||
/// ### print_usage
|
||||
///
|
||||
@@ -60,7 +60,7 @@ fn main() {
|
||||
let mut port: u16 = 22; // Default port
|
||||
let mut username: Option<String> = None; // Default username
|
||||
let password: Option<String>; // Default password
|
||||
let mut protocol: ScpProtocol = ScpProtocol::Sftp; // Default protocol
|
||||
let mut protocol: FileTransferProtocol = FileTransferProtocol::Sftp; // Default protocol
|
||||
let mut ticks: Duration = Duration::from_micros(50);
|
||||
//Process options
|
||||
// FIXME: there is no way to provide password from CLI atm
|
||||
|
||||
Reference in New Issue
Block a user