Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

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


    event TSBFTPSServerPasswordAuthEvent OnPasswordAuth;
    delegate void TSBFTPSServerPasswordAuthEvent(Object Sender, string Login, string Password, ref bool Allow);

    Event OnPasswordAuth As TSBFTPSServerPasswordAuthEvent
    Delegate Sub TSBFTPSServerPasswordAuthEvent(ByVal Sender As Object, ByVal Login As String, ByVal Password As String, ByRef Allow As Boolean)

    property OnPasswordAuth : TSBFTPSServerPasswordAuthEvent;
    TSBFTPSServerPasswordAuthEvent = procedure (Sender: TObject; const Login, Password : string; var Allow) of object;

    void get_OnPasswordAuth(TSBFTPSServerPasswordAuthEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnPasswordAuth(TSBFTPSServerPasswordAuthEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerPasswordAuthEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcLogin, int32_t szLogin, const char * pcPassword, int32_t szPassword, int8_t &Allow);

    TSBFTPSServerPasswordAuthEvent|callable|NULL get_OnPasswordAuth()
    void set_OnPasswordAuth(TSBFTPSServerPasswordAuthEvent|callable|NULL $Value)
    callable TSBFTPSServerPasswordAuthEvent(TObject $Sender, string $Login, string $Password, bool &$Allow)

    TSBFTPSServerPasswordAuthEvent getOnPasswordAuth();
    void setOnPasswordAuth(TSBFTPSServerPasswordAuthEvent Value);
    TSBFTPSServerPasswordAuthEvent.Callback OnPasswordAuth = new TSBFTPSServerPasswordAuthEvent.Callback() {
        public void TSBFTPSServerPasswordAuthEventCallback(TObject Sender, String Login, String Password, TSBBoolean Allow) {


  • Login - contains the login sent by the client.
  • Password - contains the password sent by the client.
  • Allow - specifies whether to allow authentication.
  • pcLogin - contains the login sent by the client.
  • szLogin - the length of pcLogin.
  • pcPassword - contains the password sent by the client.
  • szPassword - the length of pcPassword.


    This event is fired by TElFTPSServer when it has received a username and password from a client. Set Allow parameter to True to allow authentication.

See also:     OnUsernameReceived    

Discuss this help topic in SecureBlackbox Forum