Accept Event
This event is fired when new incoming connection is accepted.
Syntax
sftpserver.on('Accept', [callback])
Callback
The 'callback' is called when the 'Accept' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.remoteAddress e.remotePort e.accept
Remarks
This event is fired by the class before a new incoming connection is accepted. RemoteAddress contains the IP address of the connecting client. Use the Accept parameter to either accept, or reject the connection.