Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnRestartTransferRequest

TElFTPSServer     See also     


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


This event is fired when client requests to restart data transfer.

Declaration

[C#]
    event TSBFTPSServerRestartTransferRequestEvent OnRestartTransferRequest;
    delegate void TSBFTPSServerRestartTransferRequestEvent(Object Sender, long Offset, ref bool Success);

[VB.NET]
    Event OnRestartTransferRequest As TSBFTPSServerRestartTransferRequestEvent
    Delegate Sub TSBFTPSServerRestartTransferRequestEvent(ByVal Sender As Object, ByVal Offset As Long, ByRef Success As Boolean)

[Pascal]
    property OnRestartTransferRequest : TSBFTPSServerRestartTransferRequestEvent;
    TSBFTPSServerRestartTransferRequestEvent = procedure (Sender: TObject; Offset : Int64; var Success : boolean) of object;

[C++]
    void get_OnRestartTransferRequest(TSBFTPSServerRestartTransferRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRestartTransferRequest(TSBFTPSServerRestartTransferRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerRestartTransferRequestEvent)(void * _ObjectData, TObjectHandle Sender, int64_t Offset, int8_t &Success);

[PHP]
    TSBFTPSServerRestartTransferRequestEvent|callable|NULL get_OnRestartTransferRequest()
    void set_OnRestartTransferRequest(TSBFTPSServerRestartTransferRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerRestartTransferRequestEvent(TObject $Sender, integer $Offset, bool &$Success)

[Java]
    TSBFTPSServerRestartTransferRequestEvent getOnRestartTransferRequest();
    void setOnRestartTransferRequest(TSBFTPSServerRestartTransferRequestEvent Value);
    TSBFTPSServerRestartTransferRequestEvent.Callback OnRestartTransferRequest = new TSBFTPSServerRestartTransferRequestEvent.Callback() {
        public void TSBFTPSServerRestartTransferRequestEventCallback(TObject Sender, long Offset, TSBBoolean Success) {
            //...
        }
    }

Parameters

  • Offset - data offset in bytes from which to restart transfer.
  • Success - set this parameter to True if the request has succeeded, and to False otherwise.

Description

    This event is fired by TElFTPSServer when a client requests to restart data transfer.

See also:     OnAbortTransfer     OnTransferCompleted    

Discuss this help topic in SecureBlackbox Forum