This function appends the given file to the specified stream. The data will be read from the local file starting at offset and the number of bytes appended will be equal to length. 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).

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 offset,
	long length,
	bool compression
)
Visual Basic
Public Shared Sub AppendFile ( _
	stream As String, _
	fileName As String, _
	offset As Long, _
	length As Long, _
	compression As Boolean _
)
Visual C++
public:
static void AppendFile(
	String^ stream, 
	String^ fileName, 
	long long offset, 
	long long length, 
	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.
offset
Type: Int64
The position in the local file from which data needs to be copied
length
Type: Int64
The number of bytes to be appended
compression
Type: Boolean
Whether compression should be used while transferring data to the VC.

See Also