Gets an
CopyC#
Stream
from SSH server for the purposes of uploading a file.

Namespace: Jscape.Sftp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public Stream GetOutputStream(
	string filename,
	long offset,
	bool append
)
Visual Basic
Public Function GetOutputStream ( _
	filename As String, _
	offset As Long, _
	append As Boolean _
) As Stream
Visual C++
public:
Stream^ GetOutputStream(
	String^ filename, 
	long long offset, 
	bool append
)

Parameters

filename
Type: System..::..String
The remote filename
offset
Type: System..::..Int64
file offset in bytes
append
Type: System..::..Boolean
CopyC#
true
to append to remote file on SSH server,
CopyC#
false
otherwise

Return Value

an
CopyC#
Stream

See Also