private static void scp_OnEnd(int transferredBytes, int totalBytes, string message) { progressBar.Update(transferredBytes, totalBytes, message); progressBar = null; }
private static void scp_OnConnecting(int transferredBytes, int totalBytes, string message) { Console.WriteLine(); progressBar = new ConsoleProgressBar(); progressBar.Update(transferredBytes, totalBytes, message); }