Programming with Reflection

image\rwnprg32.gif HostRecordSeparator property



object.HostRecordSeparator = Value

Works with


Data type




Returns (first syntax line) or specifies (second syntax line) the character to be used in the PC file as a record separator when an ASCII files is transferred from the host. This property is only relevant when the UseHostRecordSeparator property is True.

For example, this statement specifies that a linefeed should be inserted as the PC file record separator:

Session.HostRecordSeparator = Chr$(rcLF)

This property only applies to ASCII file transfers using the WRQ/Reflection protocol.


The default value is a carriage return and linefeed, which is represented as:

Chr$(rcCR) & Chr$(rcLF)

Click here to see a list of character constants you can use for other non-printing characters.

The string cannot be more than 259 characters long.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property