Hello,
I have wrote this classe to test your product :
public sealed class Test
{
public const string Host = "localhost";
public const string User = "usr_ftp";
public const string Password = "psw_ftp";
private Test() {}
public static FTPFile[] GetFiles()
{
FTPClient ftp = null;
ftp = new FTPClient(Host);
ftp.Login(User, Password);
FTPFile[] files = ftp.DirDetails(".");
ftp.Quit();
return files;
}
}
and it works in a console application but not in a web application. (the size of the array is always 0)
How I can log messages in a web application to try to undersand why that doen't work (in viewing if an exception is raised for example).
Jean
PS : sorry for my english