Connect Event
Reports an accepted connection.
Syntax
ANSI (Cross Platform) virtual int FireConnect(FTPServerConnectEventParams *e);
typedef struct {
int64 ConnectionID;
const char *RemoteAddress;
int Port; int reserved; } FTPServerConnectEventParams; Unicode (Windows) virtual INT FireConnect(FTPServerConnectEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR RemoteAddress;
INT Port; INT reserved; } FTPServerConnectEventParams;
- (void)onConnect:(long long)connectionID :(NSString*)remoteAddress :(int)port;
#define EID_FTPSERVER_CONNECT 23 virtual INT SECUREBLACKBOX_CALL FireConnect(LONG64 &lConnectionID, LPSTR &lpszRemoteAddress, INT &iPort);
Remarks
The class 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.