Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnChangeDirectoryRequest

TElFTPSServer     See also     


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


This event is fired when a client requests to change directory.

Declaration

[C#/Java]
    event TSBFTPSServerDirectoryRequestEvent OnChangeDirectoryRequest;
    delegate void TSBFTPSServerDirectoryRequestEvent(object Sender, ref string Directory, ref int ErrorCode);

[VB.NET]
    Event OnChangeDirectoryRequest As TSBFTPSServerDirectoryRequestEvent
    Delegate Sub TSBFTPSServerDirectoryRequestEvent(ByVal Sender As Object, ByRef Directory As String, ByRef ErrorCode As Integer)

[Pascal]
    property OnChangeDirectoryRequest : TSBFTPSServerDirectoryRequestEvent;
    TSBFTPSServerDirectoryRequestEvent = procedure (Sender: TObject; var Directory : string; var ErrorCode : integer) of object;

[C++]
    void get_OnChangeDirectoryRequest(TSBFTPSServerDirectoryRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnChangeDirectoryRequest(TSBFTPSServerDirectoryRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerDirectoryRequestEvent)(void * _ObjectData, TObjectHandle Sender, char * pcDirectory, int32_t &szDirectory, int32_t &ErrorCode);

[PHP]
    TSBFTPSServerDirectoryRequestEvent|callable|NULL get_OnChangeDirectoryRequest()
    void set_OnChangeDirectoryRequest(TSBFTPSServerDirectoryRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerDirectoryRequestEvent(TObject $Sender, string &$Directory, integer &$ErrorCode)

Parameters

  • Directory - specifies the new directory.
  • ErrorCode - return the filesystem error using this parameter.
  • pcDirectory - specifies the new directory.
  • szDirectory - the length of pcDirectory.

Possible values:


Description

    This event is fired by TElFTPSServer when client attempts to change working directory. Use parameter ErrorCode to specify whether the request has succeeded.

See also:     OnWorkingDirectoryRequest    

Discuss this help topic in SecureBlackbox Forum