Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.Receive

TElSimpleFTPSClient     See also     


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


This method receives file or its part

Declaration

[C#]
    void Receive(string Filename);
    void Receive(string Filename, System.IO.Stream Stream);
    void Receive(string Filename, long StartPos, long EndPos);
    void Receive(string Filename, System.IO.Stream Stream, long StartPos, long EndPos);

[VB.NET]
    Sub Receive(ByVal Filename As String)
    Sub Receive(ByVal Filename As String, ByVal Stream As System.IO.Stream)
    Sub Receive(ByVal Filename As String, ByVal StartPos As Long, ByVal EndPos As Long)
    Sub Receive(ByVal Filename As String, ByVal Stream As System.IO.Stream, ByVal StartPos As Long, ByVal EndPos As Long)

[Pascal]
    procedure Receive(const Filename : string);
    procedure Receive(const Filename : string; Stream : TStream);
    procedure Receive(const Filename : string; StartPos : Int64 = 0; EndPos : Int64 = 0);
    procedure Receive(const Filename : string; Stream : TStream; StartPos : Int64 = 0; EndPos : Int64 = 0);

[C++]
    void Receive(const std::string &Filename, int64_t StartPos, int64_t EndPos);
    void Receive(const std::string &Filename, TStream &Stream, int64_t StartPos, int64_t EndPos);
    void Receive(const std::string &Filename, TStream *Stream, int64_t StartPos, int64_t EndPos);

[PHP]
    void Receive(string $Filename, integer $StartPos, integer $EndPos)
    void Receive(string $Filename, TStream $Stream, integer $StartPos, integer $EndPos)

[Java]
    void receive(String Filename, TElStream Stream);
    void receive(String Filename, long StartPos, long EndPos);
    void receive(String Filename);
    void receive(String Filename, TElStream Stream, long StartPos, long EndPos);

Parameters

  • FileName - file name
  • Stream - stream where file to be placed
  • StartPos - necessary segment start offset.
  • EndPos - necessary segment end offset.

Description

    Use this method to receive file or its part from the server.

See also:     Send    

Discuss this help topic in SecureBlackbox Forum