InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IFileTransfer Interface
Properties Methods

In This Topic
    IFileTransfer Interface Members
    In This Topic

    The following tables list the members exposed by IFileTransfer.

    Public Properties
     NameDescription
     PropertyReturns or specifies during an IND$FILE transfer what happens when the destination file already exists.  
     PropertyReturns or specifies the default type for Mainframe transfers. This property is only relevant for 3270 sessions using Mainframe transfer.  
     PropertyReturns or specifies a macro to be executed when you click the Show Host Files button in the Transfer dialog box.  
     PropertyReturns or specifies whether InfoConnect enters IND$FILE commands into the last unprotected field on the screen.  
     PropertyGets the parent object (IIbmTerminal).  
     PropertyReturns or specifies whether to display the transfer-in-progress "thermometer" when receiving data from the host during DISOSS transfers.  
     PropertyReturns or specifies the transfer protocol InfoConnect is to use.  
     PropertyReturns 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.  
     PropertyReturns or specifies the level of authority to associate with a file that is transferred to the host.  
     PropertyReturns or specifies which character set to use for transfers to and from an AS/400.  
     PropertyReturns 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.  
     PropertyReturns or specifies whether InfoConnect denotes a number's digit/decimal characteristics in file description files the same as Micro Focus RUMBA.  
     PropertyReturns or specifies the date format for selected fields having an AS/400 field type of date.  
     PropertyReturns or specifies a character to use as a date separator in selected fields having an AS/400 field type of Date.  
     PropertyReturns 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.  
     PropertyReturns or specifies whether extra spaces at the end of a record are deleted when the records are transferred to the PC.  
     PropertyReturns 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.  
     PropertyReturns or specifies a description for the host file you are creating.  
     PropertyReturns 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.  
     PropertyGets or sets how to group returned data after a requested function is performed.  
     PropertyReturns or specifies a string that imposes a condition on a function of the Select statement.  
     PropertyReturns or specifies which type of host file to create. This property affects AS/400 data transfer and is only relevant to 5250 sessions.  
     PropertyReturns or specifies which host transaction program (TP) InfoConnect should use.  
     PropertyReturns 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.  
     PropertyReturns or specifies how to combine data from multiple files.  
     PropertyReturns 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).  
     PropertyReturns or specifies a description for the new member being created.  
     PropertyGets or sets which character set InfoConnect uses for character translations during AS/400 data transfers.  
     PropertyReturns or specifies how many records are displayed in the Query Results window.  
     PropertyReturns 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.  
     PropertyGets or sets how to sort selected records.  
     PropertyReturns or specifies whether host data should be received to a PC file or to your display.  
     PropertyGets or sets a conversion format for a file being received from an AS/400.  
     PropertyReturns or specifies a description file to receive during a transfer from an AS/400 to the PC.  
     PropertyReturns or specifies (second syntax line) the record size (in bytes) for files being created on the host.  
     PropertyReturns or specifies the reference file that contains the definitions of fields for the AS/400 being created.  
     PropertyReturns 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).  
     PropertyReturns or specifies whether records that contain values for missing fields should be returned.  
     PropertyReturns or specifies whether to save the description file during a transfer from an AS/400 to a PC.  
     PropertyGets or sets which fields to transfer.  
     PropertyReturns or specifies a conversion format for a file being sent to an AS/400.  
     PropertyReturns or specifies a description file to send during a transfer to an AS/400 from the PC.  
     PropertyReturns or specifies whether or not to display the transfer-in-progress "thermometer" when receiving data from the host.  
     PropertyGets 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.  
     PropertyUse this property to skip a given number of records at the start of a file before sending the file to the AS/400.  
     PropertyReturns or specifies the time format for selected fields having an AS/400 field type of Time.  
     PropertyReturns or specifies a character to use as a time separator in selected fields having an AS/400 field type of Time.  
     PropertyReturns or specifies the protocol to use for data transfers.  
     PropertyReturns or specifies whether a description file should be used when sending a PC file to an AS/400.  
     PropertyReturns or specifies one or more conditions that determine whether a record is transferred.  
     PropertyReturns or specifies how the names of PC files created in 16-bit applications are displayed in the Transfer dialog box.  
     PropertyReturns or specifies any additional parameters that should be appended to IND$FILE commands that InfoConnect generates.  
     Property

    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.

     
     PropertyReturns 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).  
     PropertyReturns 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).  
     PropertyReturns or specifies whether InfoConnect closes the File Transfer dialog box upon completion of a file transfer.  
     PropertyReturns or specifies the current local working folder for file transfer.  
     PropertyReturns or specifies whether file transfer templates are enabled in 3270 terminal sessions.  
     PropertyReturns or specifies a file on the PC.  
     PropertyReturns 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).  
     PropertyReturns or specifies the name of the host program to be run by InfoConnect to initiate a file transfer.  
     PropertyReturns or specifies any message returned to InfoConnect by the host file transfer program after a transfer completes.  
     PropertyThis property returns a numeric value which indicates success or failure by the transfer program after a transfer is completed.  
     PropertyGets or sets which 3270 operating environment the host is running.  
     PropertyReturns or specifies the unit of disk space for your primary and secondary space allocations.  
     PropertySpecifies the size (in bytes) for an average block.  
     PropertyReturns or specifies the block size (in bytes) for the file being created on the host as the result of a transfer.  
     PropertyReturns or specifies the record size (in bytes) for files being created on the host as the result of a transfer.  
     PropertyReturns or specifies whether to strip the shift-out/shift-in (SO/SI) characters from files sent to the host.  
     PropertyReturns 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.  
     PropertyReturns or specifies the record format for files being created on the host by an IND$FILE transfer.  
     PropertyGets 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.  
     PropertyReturns 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.  
     PropertyReturns or specifies whether InfoConnect should use the Write Structured Field protocol for IND$FILE transfers and, if so, which size buffer to use.  
     PropertyReturns 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).  
     PropertyReturns 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).  
     PropertyReturns or specifies whether or not long file names received from an IBM mainframe are truncated.  
     PropertyReturns 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).  
     Property

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


     
     PropertyReturns or specifies how many seconds InfoConnect should wait for a host response when attempting to connect to a host.  
     PropertyReturns or specifies how many seconds InfoConnect should wait for a host response before timing out and returning an error.  
     PropertyReturns 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
     MethodAborts an IND$FILE transfer. This method is more drastic than CancelTransfer and may leave the host session in an unpredictable state.  
     MethodTransfers data from the host to the PC, using the AS/400 data transfer protocol.  
     MethodTransfers one or more PC files to the host, using the AS/400 data transfer protocol.  
     MethodCancels an IND$FILE transfer or an AS/400 data transfer in progress.  
     MethodTransfers a file from the host to the PC using the IND$FILE protocol.  
     MethodTransfers a file from the PC to the host using the IND$FILE protocol.  
     Method

    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.

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