New to this package. Looking to code simple FTP app. VS debugger halts when I call 'ftp.Connect();. Program connects, then bombs. Code below. Any feedback would be appreciated. Thanks!
EnterpriseDT.Net.Ftp.FTPConnection.LogLevel = EnterpriseDT.Util.Debug.LogLevel.All;
EnterpriseDT.Net.Ftp.FTPConnection.LogToConsole = true;
EnterpriseDT.Net.Ftp.FTPConnection ftp = new EnterpriseDT.Net.Ftp.FTPConnection();
ftp.StrictReturnCodes = false;
ftp.ServerAddress = strFTP;
try
{
ftp.Connect();
}
catch (ApplicationException e)
{
Console.WriteLine(e.Message);
}
DEBUG [FTPControlSocket] 3 Mar 2011 13:30:52.860 : 220 Welcome to CSUB's Sleipni
r FTP service.
DEBUG [FTPConnection] 3 Mar 2011 13:30:52.861 : Connected to sleipnir.cs.csubak.
edu (instance=0)