public FtpLib(Util.BuildProgressInformation buildProgressInformation) { bpi = buildProgressInformation; this.FtpServer = new EnterpriseDT.Net.Ftp.FTPConnection(); this.FtpServer.ReplyReceived += HandleMessages; this.FtpServer.CommandSent += HandleMessages; }
public FtpLib(Tasks.TaskBase callingTask, Util.BuildProgressInformation buildProgressInformation) { CallingTask = callingTask; bpi = buildProgressInformation; this.FtpServer = new EnterpriseDT.Net.Ftp.FTPConnection(); this.FtpServer.ReplyReceived += HandleMessages; this.FtpServer.CommandSent += HandleMessages; this.FtpServer.Downloaded += new EnterpriseDT.Net.Ftp.FTPFileTransferEventHandler(FtpServer_Downloaded); this.FtpServer.Uploaded += new EnterpriseDT.Net.Ftp.FTPFileTransferEventHandler(FtpServer_Uploaded); }