Dim instance AsIFileTransferDim value AsBoolean
instance.ReadCtrlZAsEOF = value
value = instance.ReadCtrlZAsEOF
Remarks
When this property is set to True, Reflection interprets a Ctrl-Z—represented as Chr$(rcSUB)—as the end-of-file marker and strips it from the file. If you do not want the file transfer to use Ctrl-Z as an end-of-file marker, set this field to False; in this case, the character count in the file folder is used to determine the file length. The equivalent property for ASCII transfers from the host is WriteCtrlZAsEOF, which determines whether a Ctrl-Z character should be appended to ASCII files being transferred from the host. The default value is true.