private static async void SendFolder() { System.Console.Clear(); Write("Enter the path to the folder you want to send to the server... "); var path = System.Console.ReadLine(); Write("Enter the path on the server where the folder should be stored... "); var targetPath = System.Console.ReadLine(); await _client.SendFolderAsync(path, targetPath, _encrypt, false); }