This function appends the given file to the specified stream. The file in its entirety will be appended to the stream. The file must use new line characters '\n', '\r', "\n\r", and/or "\r\n" (the file can contain more than one of these) with lines being less than or equal to 4MB (including new line characters). The append starts at the given streamFixedOffset in the destination stream. If the stream already contains data in the streamFixedOffset position and it is different from the data that is being appended, then this operation will fail.

Namespace: VcClient
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public static void AppendFile(
	string stream,
	string fileName,
	long streamFixedOffset,
	bool compression
)
Visual Basic
Public Shared Sub AppendFile ( _
	stream As String, _
	fileName As String, _
	streamFixedOffset As Long, _
	compression As Boolean _
)
Visual C++
public:
static void AppendFile(
	String^ stream, 
	String^ fileName, 
	long long streamFixedOffset, 
	bool compression
)

Parameters

stream
Type: String
The name of the stream to which the data needs to be appended.
fileName
Type: String
The name of the local file from which the data needs to be copied.
streamFixedOffset
Type: Int64
This is for fixed offset append. Offset in the stream for the beginning of append
compression
Type: Boolean
Whether compression should be used while transferring data to the VC.

See Also