Re: using FtpServer com library in c# ? (General questions)
Shady,
I don't know why you have problems. I just tried this in VS2003 and works without any problems. Here's relevant parts of the code: [code] wodFTPDComLib.wodFTPDCom Ftp1;
private void Form1_Load(object sender, System.EventArgs e)
{
Ftp1 = new wodFTPDComLib.wodFTPDComClass();
Ftp1.LoginPassword +=new wodFTPDComLib._IwodFTPDComEvents_LoginPasswordEventHandler(Ftp1_LoginPassword);
Ftp1.Start(21);
}
private void Ftp1_LoginPassword(wodFTPDComLib.FtpUser User, string Login, string Password, ref wodFTPDComLib.FtpActions Action)
{
Action = wodFTPDComLib.FtpActions.Allow;
}[/code]
Complete thread:
- using FtpServer com library in c# ? - shady, 2005-12-04, 01:48
- Re: using FtpServer com library in c# ? - wodSupport, 2005-12-04, 22:16
- Re: using FtpServer com library in c# ? - shade, 2005-12-05, 16:30
- Re: using FtpServer com library in c# ? - wodSupport, 2005-12-04, 22:16