Programming with FTP OLE Automation

image\rwnprg32.gif ReadCtrlZAsEOF property



Object.ReadCtrlZAsEOF =

Data type




Returns (first syntax line) or specifies (second syntax line) whether file transfer uses Ctrl-Z as an end-of-file marker.

When this property is set to True, the FTP Client interprets a Ctrl-Z—represented in Reflection Basic as Chr$(rcSUB)—in ASCII files being sent to the host 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 directory 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.

FTP Script SET Parameter Equivalent