ControlReceive Event
Fires when data is received via the control channel.
Syntax
ANSI (Cross Platform) virtual int FireControlReceive(FTPClientControlReceiveEventParams *e);
typedef struct {
const char *TextLine; int reserved; } FTPClientControlReceiveEventParams; Unicode (Windows) virtual INT FireControlReceive(FTPClientControlReceiveEventParams *e);
typedef struct {
LPCWSTR TextLine; INT reserved; } FTPClientControlReceiveEventParams;
- (void)onControlReceive:(NSString*)textLine;
#define EID_FTPCLIENT_CONTROLRECEIVE 2 virtual INT SECUREBLACKBOXLITE_CALL FireControlReceive(LPSTR &lpszTextLine);
Remarks
TextLine contains the data that was received, which would typically contain a reply to a command (e.g. 200 Command OK).