Admin Production rocket
Current Publication

ZmodemTransferType Property

InfoConnect Desktop InfoConnect .NET API Guide V17.0
Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
ZmodemTransferType Property
In This Topic
Returns or specifies the transfer type for Zmodem transfers from the File Transfer dialog box.
Syntax

                     
                     
'Declaration
 

                     
                     
Property ZmodemTransferType As TransferTypeOption

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IFileTransfer
Dim value As TransferTypeOption
 
instance.ZmodemTransferType = value
 
value = instance.ZmodemTransferType

                  

                     
                     
TransferTypeOption ZmodemTransferType {get; set;}

                  

Property Value

Values The default value is TransferTypeOption.Binary. TransferTypeOption.ASCII Sets the default transfer type for FTP transfers from the File Transfer dialog box to ASCII. If the FTPTranslateCharacters 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 FTPTranslateCharacters is set to False, record separator characters may still be 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 FTP transfers from the File Transfer dialog box to binary. Data in the file is not translated as it is transferred. 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
Remarks
This property is automatically set every time you perform a Zmodem 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 TransferTypeOption.Binary. TransferTypeOption.ASCII Sets the default transfer type for FTP transfers from the File Transfer dialog box to ASCII. If the FTPTranslateCharacters 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 FTPTranslateCharacters is set to False, record separator characters may still be 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 FTP transfers from the File Transfer dialog box to binary. Data in the file is not translated as it is transferred. 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