InfoConnect for Unisys
IFileTransfer Interface Members
Properties  Methods 

The following tables list the members exposed by IFileTransfer.

Public Properties
 NameDescription
 PropertyDfltExistsActionReturns or specifies during an IND$FILE transfer what happens when the destination file already exists.  
 PropertyDfltXfrTypeReturns or specifies the default type for Mainframe transfers. This property is only relevant for 3270 sessions using Mainframe transfer.  
 PropertyHostFileListMacroReturns or specifies a macro to be executed when you click the Show Host Files button in the Transfer dialog box.  
 PropertyIndAutoPositionCursorReturns or specifies whether InfoConnect enters IND$FILE commands into the last unprotected field on the screen.  
 PropertyParentGets the parent object (IIbmTerminal).  
 PropertyShowDISOSSStatusDialogReturns or specifies whether to display the transfer-in-progress "thermometer" when receiving data from the host during DISOSS transfers.  
 PropertyTransferTypeReturns or specifies the transfer protocol InfoConnect is to use.  
 PropertyXfr400AssumePositiveNumericsReturns or specifies whether InfoConnect looks for a negative sign or a blank (positive) in the first byte of numeric fields in fixed column ASCII database files.  
 PropertyXfr400AuthorityReturns or specifies the level of authority to associate with a file that is transferred to the host.  
 PropertyXfr400CharsetReturns or specifies which character set to use for transfers to and from an AS/400.  
 PropertyXfr400CompatibleAsciiFileReturns or specifies whether InfoConnect uses the buffer length or the field length of a packed decimal field to determine the size of fields on the PC.  
 PropertyXfr400CompatibleFDFFileReturns or specifies whether InfoConnect denotes a number's digit/decimal characteristics in file description files the same as Micro Focus RUMBA.  
 PropertyXfr400DateFormatReturns or specifies the date format for selected fields having an AS/400 field type of date.  
 PropertyXfr400DateSeparatorReturns or specifies a character to use as a date separator in selected fields having an AS/400 field type of Date.  
 PropertyXfr400DecSepReturns or specifies a character to use as a decimal separator in selected fields that have an AS/400 field type of packed decimal or zoned decimal.  
 PropertyXfr400DeleteTrailingSpacesReturns or specifies whether extra spaces at the end of a record are deleted when the records are transferred to the PC.  
 PropertyXfr400ExistsActionReturns or specifies what InfoConnect should do if it finds a PC file with the same name as the host file or member you are trying to receive.  
 PropertyXfr400FileTextReturns or specifies a description for the host file you are creating.  
 PropertyXfr400ForceHexConversionReturns or specifies whether InfoConnect translates data that is in coded character set ID (CCSID) 65535 from hexadecimal to EBCDIC when transferring it to the host or from hexadecimal to ANSI when receiving it from the host.  
 PropertyXfr400GroupByStringGets or sets how to group returned data after a requested function is performed.  
 PropertyXfr400HavingStringReturns or specifies a string that imposes a condition on a function of the Select statement.  
 PropertyXfr400HostFileTypeReturns or specifies which type of host file to create. This property affects AS/400 data transfer and is only relevant to 5250 sessions.  
 PropertyXfr400HostTPReturns or specifies which host transaction program (TP) InfoConnect should use.  
 PropertyXfr400IgnoreDecErrorsReturns or specifies whether InfoConnect is to ignore any decimal data errors found in a packed or zoned field during a transfer from the AS/400.  
 PropertyXfr400JoinByStringReturns or specifies how to combine data from multiple files.  
 PropertyXfr400LocalFileReturns or specifies the name of a PC file to send to an AS/400 (for file transfers to the host), or to receive data from an AS/400 (for data transfer from the host).  
 PropertyXfr400MemberTextReturns or specifies a description for the new member being created.  
 PropertyXfr400NCSGets or sets which character set InfoConnect uses for character translations during AS/400 data transfers.  
 PropertyXfr400NumDisplayRecordsReturns or specifies how many records are displayed in the Query Results window.  
 PropertyXfr400ObjectsReturns or specifies whether data should be transferred to a new member on the AS/400 or to an existing member, and whether the file that will contain the member already exists.  
 PropertyXfr400OrderByStringGets or sets how to sort selected records.  
 PropertyXfr400OutputDestReturns or specifies whether host data should be received to a PC file or to your display.  
 PropertyXfr400ReceiveConversionGets or sets a conversion format for a file being received from an AS/400.  
 PropertyXfr400ReceiveDescFileReturns or specifies a description file to receive during a transfer from an AS/400 to the PC.  
 PropertyXfr400RecordLengthReturns or specifies (second syntax line) the record size (in bytes) for files being created on the host.  
 PropertyXfr400RefFileReturns or specifies the reference file that contains the definitions of fields for the AS/400 being created.  
 PropertyXfr400RemoteFileReturns or specifies a host file for the PC to receive (for transfers from the host), or a host file to which data from the PC will be sent (for transfers to the host).  
 PropertyXfr400ReturnMissingReturns or specifies whether records that contain values for missing fields should be returned.  
 PropertyXfr400SaveDescriptionFileReturns or specifies whether to save the description file during a transfer from an AS/400 to a PC.  
 PropertyXfr400SelectStringGets or sets which fields to transfer.  
 PropertyXfr400SendConversionReturns or specifies a conversion format for a file being sent to an AS/400.  
 PropertyXfr400SendDescFileReturns or specifies a description file to send during a transfer to an AS/400 from the PC.  
 PropertyXfr400ShowProgressReturns or specifies whether or not to display the transfer-in-progress "thermometer" when receiving data from the host.  
 PropertyXfr400SortSeqGets or sets a sort sequence for the data being transferred. The specified sort sequence determines the order of characters in the alphabet when fields are alphabetized. s.  
 PropertyXfr400StartRecordUse this property to skip a given number of records at the start of a file before sending the file to the AS/400.  
 PropertyXfr400TimeFormatReturns or specifies the time format for selected fields having an AS/400 field type of Time.  
 PropertyXfr400TimeSeparatorReturns or specifies a character to use as a time separator in selected fields having an AS/400 field type of Time.  
 PropertyXfr400TransportReturns or specifies the protocol to use for data transfers.  
 PropertyXfr400UseDescriptionFileReturns or specifies whether a description file should be used when sending a PC file to an AS/400.  
 PropertyXfr400WhereStringReturns or specifies one or more conditions that determine whether a record is transferred.  
 PropertyXfr8Dot3FilenameCaseReturns or specifies how the names of PC files created in 16-bit applications are displayed in the Transfer dialog box.  
 PropertyXfrAddParamReturns or specifies any additional parameters that should be appended to IND$FILE commands that InfoConnect generates.  
 PropertyXfrApvUser

Gets or sets whether shift-out and shift-in (SO/SI) characters in the host file are left intact (not translated). This property is used for JISCII file translations from the host with the NOSO option selected.

 
 PropertyXfrAsciiCrlfReturns or specifies whether carriage returns and linefeed characters (CR/LF) at the end of lines in ASCII files are removed (when sent to the host) or added (when received from the host).  
 PropertyXfrBinaryCRLFReturns or specifies whether carriage returns and linefeed characters (CR/LF) at the end of lines in ASCII files are removed (when you send the file to the host) or added (when you receive the file from the host).  
 PropertyXfrCloseDlgAfterTransferReturns or specifies whether InfoConnect closes the File Transfer dialog box upon completion of a file transfer.  
 PropertyXfrCurrentDirectoryReturns or specifies the current local working folder for file transfer.  
 PropertyXfrEnableTemplatesReturns or specifies whether file transfer templates are enabled in 3270 terminal sessions.  
 PropertyXfrFtpLocalFileReturns or specifies a file on the PC.  
 PropertyXfrFtpRemoteFileReturns or specifies a host file. This specifies the file for the host to receive (for transfers to the host using FtpSendFile), or the file to be sent to the PC (for transfers to the PC using FtpReceiveFile).  
 PropertyXfrHostCmdReturns or specifies the name of the host program to be run by InfoConnect to initiate a file transfer.  
 PropertyXfrHostMessageReturns or specifies any message returned to InfoConnect by the host file transfer program after a transfer completes.  
 PropertyXfrHostReturnCodeThis property returns a numeric value which indicates success or failure by the transfer program after a transfer is completed.  
 PropertyXfrHostSysGets or sets which 3270 operating environment the host is running.  
 PropertyXfrIndAllocUnitReturns or specifies the unit of disk space for your primary and secondary space allocations.  
 PropertyXfrIndAvgBlkSpecifies the size (in bytes) for an average block.  
 PropertyXfrIndBlkSizeReturns or specifies the block size (in bytes) for the file being created on the host as the result of a transfer.  
 PropertyXfrIndLReclReturns or specifies the record size (in bytes) for files being created on the host as the result of a transfer.  
 PropertyXfrIndNOSOReturns or specifies whether to strip the shift-out/shift-in (SO/SI) characters from files sent to the host.  
 PropertyXfrIndPrimAllocReturns or specifies the size (in Allocation Units, as specified by the XfrIndAllocUnit property) of the primary allocation for the host file being created by an IND$FILE transfer.  
 PropertyXfrIndRecFmReturns or specifies the record format for files being created on the host by an IND$FILE transfer.  
 PropertyXfrIndSecAllocGets or sets the size of any additional allocations (in Allocation Units, as specified by the XfrIndAllocUnit) property in the event that the primary allocation is not sufficient.  
 PropertyXfrIndSOReturns or specifies whether to convert shift-in (SI) characters to US (hex 1F) and shift-out (SO) characters to RS (hex 1E) in JISCII files received from the host.  
 PropertyXfrIndStrucFldSzReturns or specifies whether InfoConnect should use the Write Structured Field protocol for IND$FILE transfers and, if so, which size buffer to use.  
 PropertyXfrJisciiCrlfReturns or specifies whether carriage returns and line-feed characters (CR/LF) at the end of lines in JISCII files are removed (from files you send to the host) or added (to files you receive from the host).  
 PropertyXfrLocalFileReturns or specifies a default PC file or files for the PC to receive (for transfers from the host), or for the host to receive (for transfers to the host).  
 PropertyXfrReceive8Dot3Returns or specifies whether or not long file names received from an IBM mainframe are truncated.  
 PropertyXfrRemoteFileReturns or specifies a host file or files for the PC to receive (for transfers from the host), or for the host to receive (for transfers to the host).  
 PropertyXfrSpacesToUnderscores

Gets or sets whether to translate spaces in a file name to underscores during a transfer to a mainframe or AS/400.


 
 PropertyXfrStartTimeoutReturns or specifies how many seconds InfoConnect should wait for a host response when attempting to connect to a host.  
 PropertyXfrTimeoutReturns or specifies how many seconds InfoConnect should wait for a host response before timing out and returning an error.  
 PropertyXfrUnderscoresToSpacesReturns or specifies whether underscores in file names are converted to spaces when receiving files from an IBM mainframe or AS/400 system.  
Top
Public Methods
 NameDescription
 MethodAbortTransferAborts an IND$FILE transfer. This method is more drastic than CancelTransfer and may leave the host session in an unpredictable state.  
 MethodAS400ReceiveFileTransfers data from the host to the PC, using the AS/400 data transfer protocol.  
 MethodAS400SendFileTransfers one or more PC files to the host, using the AS/400 data transfer protocol.  
 MethodCancelTransferCancels an IND$FILE transfer or an AS/400 data transfer in progress.  
 MethodINDReceiveFileTransfers a file from the host to the PC using the IND$FILE protocol.  
 MethodINDSendFileTransfers a file from the PC to the host using the IND$FILE protocol.  
 MethodOpen

Opens a transfer request file. This is equivalent to opening a Transfer Request (.mto or .xto) file using the Open button in the File Transfer dialog.

 
 MethodShowFileTransferDialogOpens the File Transfer dialog box.  
 MethodShowFileTransferSetupDialogOpens the Transfer Setup dialog box. This method returns an error if the user cancels the dialog box.  
Top
See Also