InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / KermitTransferType Property


In This Topic
    KermitTransferType Property
    In This Topic
    Returns or specifies the transfer type for Kermit transfers.
    Syntax
    'Declaration
     
    
    Property KermitTransferType As TransferTypeOption
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As TransferTypeOption
     
    instance.KermitTransferType = value
     
    value = instance.KermitTransferType
    TransferTypeOption KermitTransferType {get; set;}
    Remarks
    This property is automatically set every time you perform a Kermit transfer from the File Transfer dialog box. The value also becomes the default for the next transfer from the File Transfer dialog box. This property has no effect on programmatic transfers—if you don't explicitly specify a transfer type, the default is always binary. The default value is TransferTypeOption.Binary. TransferTypeOption.ASCII Sets the default transfer type for Kermit transfers from the File Transfer dialog box to ASCII. If the KermitTranslateCharacters 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 Translation options for ASCII transfers (as specified on the Translation tab in the File Transfer Setup dialog box). If KermitTranslateCharacters 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. TransferTypeOption.Binary Sets the default transfer type for Kermit transfers from the File Transfer dialog box to binary. No characters are translated. TransferTypeOption.AutoDetect 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
    See Also