Hi,
I use edtFTPnet/Free 2
With VS2008 and C#.
With this code i have an TargetInvocationException exception.
The connect and log in is OK. Change directory is OK. GetFiles is OK.
string[] list = this.transfertFtp.Ftp.GetFiles("");
foreach (string s in list)
{
this.lstboxFtpTestFtpConnexion.Items.Add(" Ftp file : " + s);
}
FTPFile[] fileInfos;
fileInfos = this.transfertFtp.Ftp.GetFileInfos("/");
Thanks in advance.