Torna al Thread

private void Esegui(){ try { libFTP infoServerFTP = new libFTP(); List<libFTP.DirectoryItem> listing = infoServerFTP.GetDirectoryInformation("ftp://dominio.it", "username", "password"); foreach (libFTP.DirectoryItem items in listing) { Console.WriteLine("File Name = " + items.Name + " Size = " + items.Size + " LinkFTP = " + items.AbsolutePath); } } catch (Exception error) { Console.WriteLine(error.ToString()); } }
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5