Exemple #1
0
        private static async void SendFile()
        {
            System.Console.Clear();
            Write("Enter the path to the file you want to send to the server... ");
            var path = System.Console.ReadLine();

            Write("Enter the path on the server where the file should be stored... ");
            var targetPath = System.Console.ReadLine();
            await _client.SendFileAsync(path, targetPath, _compress, _encrypt, false);
        }