Connect Event
Reports an accepted connection.
Syntax
public open class DefaultFtpserverEventListener : FtpserverEventListener { ... public override fun connect(e: FtpserverConnectEvent) {} ... } public class FtpserverConnectEvent { val connectionID: Long val remoteAddress: String? val port: Int }
Remarks
The component fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as AuthAttempt or BeforeUploadFile.