Programming with Reflection

image\rwnprg32.gif XmodemTransferType property

 

Syntax

object.XmodemTransferType
object.XmodemTransferType = Value

Works with

image\r124.gif

Data type

Enumeration

 

Description

Returns (first syntax line) or specifies (second syntax line) the transfer type for Xmodem transfers from the File Transfer dialog box. This property is automatically set every time you perform an Xmodem transfer from the dialog box. The value also becomes the default for the next transfer from the dialog box. This property has no effect on programmatic transfers—if you don't explicitly specify a transfer type, the default is always binary.

Values

The default value is rcBinary.

rcASCII Sets the default transfer type for Xmodem transfers from the File Transfer dialog box to ASCII. If the XmodemTranslateCharacters property is set to True, the following translations are performed:

· Character set translations (as specified on the Emulation tab in the Terminal Setup dialog box).

· Relevant ASCII file translation options (as specified on the Translation tab in the File Transfer Setup dialog box).

 If XmodemTranslateCharacters is set to False, record separator characters may still be still translated to carriage return/linefeed sequences (if the ConvertSeparatorToEOL property is set to True), and a Ctrl-Z character may be still be appended to the end of the file (if the WriteCtrlZAsEOF property is set to True), but no other translations are performed.

 

rcBinary Sets the default transfer type for Xmodem transfers from the File Transfer dialog box to binary.

rcAutoDetect The transfer type is determined by the file extension. Use these properties to determine which file extensions are linked to which transfer type:

TransferAutoDetectDefaultType

TransferAutoDetectASCIIExtensionList

TransferAutoDetectBinaryExtensionList

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property