private static void ListFiles(FtpConnection conn) { var files = conn.FindFiles("", "*.zip", true); foreach (var el in files) { var file = el as FtpFile; Console.WriteLine("file: {0}, Size={1}, Time={2}", el, file.Size(), file.GetModificationTime()); } }