OnConnect Event no longer fires (wodFTPServer)
I have the following code:
FTPSite := TwosSFTP.Create(nil);
FTPSite.OnConnected := Self.FTPSiteConnected;
FTPSite.OnDone := Self.FTPSiteDone;
FTPSIte.Hostname := FTPServer;
FTPSite.login := UserName;
FTPSite.password := Password;
FTPSite.Authentication := authPassword;
FTPSite.ProxyType := proxyNone;
FTPSite.RemotePath := ServerFile;
FTPSite.LocalPath := LocalPath;
FTPSite.Connect;
And the OnConnected event does not get executed. I few months ago this code worked just fine. In fact my boss using it in another program and it works fine. Now in this program it has decided not fire the routine.
Any insight into what I've done wrong is greatly appreciated.
Complete thread:
- OnConnect Event no longer fires - Bob Perkins, 2012-09-12, 21:10
- Re: OnConnect Event no longer fires - wodDamir, 2012-09-12, 21:19
- Re: OnConnect Event no longer fires - bob perkins, 2012-09-13, 15:33
- Re: OnConnect Event no longer fires - wodDamir, 2012-09-13, 15:59
- Re: OnConnect Event no longer fires - bob perkins, 2012-09-13, 23:47
- Re: OnConnect Event no longer fires - woddrazen, 2012-09-13, 23:57
- Re: OnConnect Event no longer fires - Bob Perkins, 2012-09-14, 13:55
- Re: OnConnect Event no longer fires - woddrazen, 2012-09-14, 13:57
- Re: OnConnect Event no longer fires - Bob Perkins, 2012-09-14, 13:55
- Re: OnConnect Event no longer fires - woddrazen, 2012-09-13, 23:57
- Re: OnConnect Event no longer fires - bob perkins, 2012-09-13, 23:47
- Re: OnConnect Event no longer fires - wodDamir, 2012-09-13, 15:59
- Re: OnConnect Event no longer fires - bob perkins, 2012-09-13, 15:33
- Re: OnConnect Event no longer fires - wodDamir, 2012-09-12, 21:19