Discuss this help topic in SecureBlackbox Forum


TElSftpStream     See also     

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

Writes a block of bytes to the stream.


    void Write(byte[] Buffer, int Offset, int Count);

    Sub Write(ByVal Buffer As Byte(), ByVal Offset As Integer, ByVal Count As Integer)

    function Write(const Buffer; Count : Longint) : Longint;

    int32_t Write(const void * Buffer, int32_t Count);

    integer Write(TSBPointer|array of byte|string|NULL $Buffer, integer $Count)


  • Buffer - buffer containing the data to be written.
  • Offset - the byte offset of the data to be written in the Buffer.
  • Count - the maximum number of bytes to write.

Return value

    returns the total number of bytes that were written.


    Call this method to write data to the SFTP stream. Use CanWrite property to check if the current stream supports writing.

See also:     CanWrite     Read    

Discuss this help topic in SecureBlackbox Forum