private static void DoFeatures(FtpsClient client) { var features = client.GetFeatures(); Console.WriteLine(); if (features == null) { Console.WriteLine("The FEAT command is not supported by the server"); } else { Console.WriteLine("Features:"); Console.WriteLine(); foreach (var feature in features) { Console.WriteLine(feature); } } }