Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.OnTextDataLine

TElSimpleFTPSClient     See also     


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


This event is fired when the file is downloaded in text mode.

Declaration

[C#]
    event TSBFTPSTextDataEvent OnTextDataLine;
    delegate void TSBFTPSTextDataEvent(Object Sender, byte[] TextLine);

[VB.NET]
    Event OnTextDataLine As TSBFTPSTextDataEvent
    Delegate Sub TSBFTPSTextDataEvent(ByVal Sender As Object, ByVal TextLine As Byte())

[Pascal]
    property OnTextDataLine : TSBFTPSTextDataEvent;
    TSBFTPSTextDataEvent = procedure(Sender : TObject; const TextLine : ByteArray) of object;

[C++]
    void get_OnTextDataLine(TSBFTPSTextDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTextDataLine(TSBFTPSTextDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSTextDataEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pTextLine[], int32_t szTextLine);

[PHP]
    TSBFTPSTextDataEvent|callable|NULL get_OnTextDataLine()
    void set_OnTextDataLine(TSBFTPSTextDataEvent|callable|NULL $Value)
    callable TSBFTPSTextDataEvent(TObject $Sender, string $TextLine)

[Java]
    TSBFTPSTextDataEvent getOnTextDataLine();
    void setOnTextDataLine(TSBFTPSTextDataEvent Value);
    TSBFTPSTextDataEvent.Callback OnTextDataLine = new TSBFTPSTextDataEvent.Callback() {
        public void TSBFTPSTextDataEventCallback(TObject Sender, byte[] TextLine) {
            //...
        }
    }

Parameters

  • TextLine (Text) - next portion of data from the server
  • pTextLine -
  • szTextLine - the length of pcTextLine.

Description

    This event is fired by TElSimpleFTPSClient consequently (thus returning the file data string by string), until the whole file is received.

See also:     OnBinaryData     TransferType     OnTextDataLineAsString    

Discuss this help topic in SecureBlackbox Forum