Discuss this help topic in SecureBlackbox Forum

TElAS3Client.Send

TElAS3Client     See also     


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


Sends the file or its part to the server.

Declaration

[C#/Java]
    void Send(System.IO.Stream Stream, string FileName, long StartPos, long EndPos, bool Append, long RestartFrom);
    void Send(System.IO.Stream Stream, string FileName, long RestartFrom);
    void Send(System.IO.Stream Stream, string FileName);

[VB.NET]
    Sub Send(ByVal Stream As System.IO.Stream, ByVal FileName As String, ByVal StartPos As Long, ByVal EndPos As Long, ByVal Append As Boolean, ByVal RestartFrom As Long)
    Sub Send(ByVal Stream As System.IO.Stream, ByVal FileName As String, ByVal RestartFrom As Long)
    Sub Send(ByVal Stream As System.IO.Stream, ByVal FileName As String)

[Pascal]
    procedure Send(Stream : TStream; const FileName : string; StartPos, EndPos : int64; Append : boolean; RestartFrom : Int64 = 0);
    procedure Send(Stream : TStream; const FileName : string; RestartFrom : Int64 = 0);
    procedure Send(Stream : TStream; const FileName : string);

[C++]
    void Send(TStream &Stream, const std::string &FileName, int64_t StartPos, int64_t EndPos, bool Append, int64_t RestartFrom);
    void Send(TStream *Stream, const std::string &FileName, int64_t StartPos, int64_t EndPos, bool Append, int64_t RestartFrom);
    void Send(TStream &Stream, const std::string &FileName, int64_t RestartFrom);
    void Send(TStream *Stream, const std::string &FileName, int64_t RestartFrom);
    void Send(TStream &Stream, const std::string &FileName);
    void Send(TStream *Stream, const std::string &FileName);

[PHP]
    void Send(TStream $Stream, string $FileName, integer $StartPos, integer $EndPos, bool $Append, integer $RestartFrom)
    void Send(TStream $Stream, string $FileName, integer $RestartFrom)
    void Send(TStream $Stream, string $FileName)

Parameters

  • Stream - stream with the file
  • FileName - file name
  • StartPos - start offset of the segment
  • EndPos - end offset of the segment
  • Append - specifies if data have to be append to the end of file
  • RestartFrom - can be used to resume broken transfer operation.When RestartFrom is set to non-zero positive value, the file being transferred is read starting from RestartFrom position and is written also starting from RestartFrom position.

Description

    Use this method to send file or its part to the server.

See also:     Receive    

Discuss this help topic in SecureBlackbox Forum