EVENT HANDLING

Please post here if you have problems in using Wing FTP Server.
Post Reply
StenAaboHansen
Posts: 40
Joined: Mon Feb 09, 2015 8:50 pm

EVENT HANDLING

Post by StenAaboHansen »

How do I close a connection request by using EVENT BeforeUserLogedIn.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: EVENT HANDLING

Post by FTP »

OK, please try to use the following Lua script:

Code: Select all

local domain = "domain1"
c_KickSession(domain, "%ConnectID")
bCancelEvent = true
Post Reply