Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is fired periodically to report transfer progress.


    event TSBFTPSServerTransferProgressEvent OnTransferProgress;
    delegate void TSBFTPSServerTransferProgressEvent(Object Sender, long Progress, long Total, ref bool Abort);

    Event OnTransferProgress As TSBFTPSServerTransferProgressEvent
    Delegate Sub TSBFTPSServerTransferProgressEvent(ByVal Sender As Object, ByVal Progress As Long, ByVal Total As Long, ByRef Abort As Boolean)

    property OnTransferProgress : TSBFTPSServerTransferProgressEvent;
    TSBFTPSServerTransferProgressEvent = procedure (Sender: TObject; Progress, Total : Int64; var Abort : boolean) of object;

    void get_OnTransferProgress(TSBFTPSServerTransferProgressEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTransferProgress(TSBFTPSServerTransferProgressEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerTransferProgressEvent)(void * _ObjectData, TObjectHandle Sender, int64_t Progress, int64_t Total, int8_t &Abort);

    TSBFTPSServerTransferProgressEvent|callable|NULL get_OnTransferProgress()
    void set_OnTransferProgress(TSBFTPSServerTransferProgressEvent|callable|NULL $Value)
    callable TSBFTPSServerTransferProgressEvent(TObject $Sender, integer $Progress, integer $Total, bool &$Abort)


  • Progress - contains the number of bytes transferred.
  • Total - total number of bytes to be transferred (file size).
  • Abort - set this parameter to True to cancel transfer.


    This event is fired by TElFTPSServer to report status of current data transfer (file upload/download). You can use parameter Abort to cancel the transfer. In such case OnAbortTransfer event will be fired.

See also:     OnAbortTransfer     OnTransferCompleted     TransferInProgress    

Discuss this help topic in SecureBlackbox Forum