Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.Send

TElSimpleFTPSClient     See also     


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


Sends the file or its part to the server.

Declaration

[C#]
    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 : integer = 0);

[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)

[Java]
    void send(TElStream Stream, String FileName);
    void send(TElStream Stream, String FileName, long StartPos, long EndPos, boolean Append, long RestartFrom);
    void send(TElStream Stream, String FileName, long RestartFrom);

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