Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when a command has been processed by the server.


    event TSBFTPSServerUsernameReceivedEvent OnUsernameReceived;
    delegate void TSBFTPSServerUsernameReceivedEvent(Object Sender, string Login, ref bool Allow, ref bool NeedsPassword);

    Event OnUsernameReceived As TSBFTPSServerUsernameReceivedEvent
    Delegate Sub TSBFTPSServerUsernameReceivedEvent(ByVal Sender As Object, ByVal Login As String, ByRef Allow As Boolean, ByRef NeedsPassword As Boolean)

    property OnUsernameReceived : TSBFTPSServerUsernameReceivedEvent;
    TSBFTPSServerUsernameReceivedEvent = procedure (Sender: TObject; const Login : string; var Allow, NeedsPassword : boolean) of object;

    void get_OnUsernameReceived(TSBFTPSServerUsernameReceivedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnUsernameReceived(TSBFTPSServerUsernameReceivedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerUsernameReceivedEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcLogin, int32_t szLogin, int8_t &Allow, int8_t &NeedsPassword);

    TSBFTPSServerUsernameReceivedEvent|callable|NULL get_OnUsernameReceived()
    void set_OnUsernameReceived(TSBFTPSServerUsernameReceivedEvent|callable|NULL $Value)
    callable TSBFTPSServerUsernameReceivedEvent(TObject $Sender, string $Login, bool &$Allow, bool &$NeedsPassword)


  • Login - contains the login sent by the client.
  • Allow - specifies whether to allow authentication.
  • NeedsPassword - set this parameter to True if password is required for the specified username.
  • pcLogin - contains the login sent by the client.
  • szLogin - the length of pcLogin.


    This event is fired by TElFTPSServer when it has received a username from a client.

See also:     OnPasswordAuth    

Discuss this help topic in SecureBlackbox Forum