ControlReceive Event
Fires when data is received via the control channel.
Syntax
public event OnControlReceiveHandler OnControlReceive; public delegate void OnControlReceiveHandler(object sender, FtpclientControlReceiveEventArgs e); public class FtpclientControlReceiveEventArgs : EventArgs { public string TextLine { get; } }
Public Event OnControlReceive As OnControlReceiveHandler Public Delegate Sub OnControlReceiveHandler(sender As Object, e As FtpclientControlReceiveEventArgs) Public Class FtpclientControlReceiveEventArgs Inherits EventArgs Public ReadOnly Property TextLine As String End Class
Remarks
TextLine contains the data that was received, which would typically contain a reply to a command (e.g. 200 Command OK).