ControlSend Event
Fires when data is about to be set via the control channel.
Syntax
ftpclient.on('ControlSend', [callback])
Callback
The 'callback' is called when the 'ControlSend' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.textLine
Remarks
TextLine contains the data to be sent, which would typically contain a command issued by the client (e.g. CWD dir).