action.skip

Transfer Files

You can transfer files using mainframe file transfer or FTP file transfer.

Transfer IBM mainframe files

You can send or receive files on IBM3270 mainframes or IBM System i systems.

To transfer files to a mainframe from your PC

  1. Connect and log on to the mainframe.

    The File Transfer button on the ribbon (or the Transfer File menu item if you are using Classic interface mode) is available only after you connect.

  2. Open the File Transfer dialog box.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    Classic or Classic MDI On the Tools menu, choose Transfer File.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
  3. Click the Settings button, and configure the file transfer settings.

    For most situations, you can configure for file transfers by selecting a preset configuration in the Protocol tab.

  4. Click OK.

  5. From the Transfer dialog box, under Local, do one of the following:

    • Browse under Local folders, and then select one or more files from the list.

      -or-

    • Type the path and filename into the File names box.

  6. Select your preferences for Transfer method, If file exists, and Record format.

  7. Specify the host file information:

    For this host system Do this
    CICS Type a filename in the File names box. It is not possible to perform transfers involving multiple files. If you don't type a filename, Reflection uses the PC filename, with the period and extension, if applicable, removed. To avoid overwriting files, do not send files with the same filename and different extensions.
    CMS Click Show host files, and browse to select one or more host files. -or- Type the file information into the File names box. If you don't type a filename, Reflection uses the PC filename. If a PC file you are transferring does not have a file extension, the transfer fails.
    TSO Click Show host files, and browse to select one or more host files. All datasets that have a high-level qualifier that equals your user ID are displayed. -or- Type the file information into the File names box. If you don't type a filename, Reflection uses the PC filename.
  8. To initiate a file transfer, do one of the following:

    • Click the Transfer button.

      -or-

    • Drag the source file, and then drop it on the desired destination file

To transfer files from a mainframe to the PC

  1. Start Reflection and log on to the host computer as usual.

  2. Open the Transfer dialog box.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
    TouchUx Tap the Wrench icon and then under Tools, select File Transfer.
  3. Click the Settings button, and configure the file transfer settings.

    For most situations, you can configure for file transfers by selecting a preset configuration in the Protocol tab.

  4. Click OK.

  5. Specify a host file:

    For this host system Do this
    CICS Type a filename in the File names box. It is not possible to perform transfers involving multiple files.
    CMS Click Show host files, and browse to select one or more host files.
    To filter the list, you can enter partial filenames or wildcards; for example, to see all files that begin with the letter "d" of the mode "files" on the "a" disk, type the following:
    d* files a
    -or-
    Type the file information into the File names box.
    TSO Click Show host files, and browse to select one or more host files.
    All datasets that have a high-level qualifier that equals your user ID are displayed.
    -or-
    Type the file information into the File names box.
  6. Select your preferences for Transfer method, If file exists, and Record format.

  7. From the Transfer dialog box, under Local, do one of the following:

    • Browse under Local folders, and then select one or more files from the list.

      -or-

    • Type the path and filename into the File names box.

    If you omit this step, Reflection uses the host filename.

  8. To initiate a file transfer, do one of the following:

    • Click a Transfer button to move the file in the indicated direction.

      -or-

    • Drag the source file, and then drop it on the desired destination file.

More information

See For information about...
IBM System i (AS/400) Transfer IBM System i (AS/400) transfer configuration options
Batch Transfers Creating a list of transfers in a transfer request file that can be used to perform multiple transfers in a single operation
Configure File Transfer Configuring file transfer settings
Saving and Repeating Transfers Transfer request files
IBM File and Data Transfer Support for IBM file transfer
Use File Transfer Naming Templates How to set up a file transfer template to define a set of conditions that affects the way Reflection names files transferred between your PC and a host
Mainframe File Transfer Mainframe file transfer
Create a File Transfer Template How to create a custom file template
Transfer Request Files Creating a transfer request file so you can perform the same transfer (or transfers) again later, without having to specify files and options each time.

Transfer Data to or From an IBM System i (AS/400)

note

If you plan to perform a transfer regularly, you can save your transfer settings in a transfer request file.

To send data to a member of a file on an IBM System i (AS/400)

  1. In a 5250 session, open the File Transfer dialog box.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    Classic or Classic MDI On the Tools menu, choose Transfer File.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
  2. Click the Settings button to open the Transfer Settings dialog box.

  3. On the AS/400 tab, specify the host to send the data to and the credentials (Username and Password) you want to use to log on to the host.

    note

    You can transfer data to a host other than the host your session is connected to.

  4. On the Options tab, under To host, browse to the Description .FDF file that was created when you downloaded the file from the host. (Reflection creates this file by default when you download a file.)

  5. In the Objects list, select one of the options to create a new member or replace an existing member.

  6. If you are creating a new member in a file, enter a description in the Member text box. (This step is optional.) This text description is displayed when you view the files in your application.

  7. On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.

  8. From the Transfer dialog box, under Local, do one of the following:

    • Browse under Local folders, and then select one or more files from the list.

      -or-

    • Type the path and filename into the File names box.

    note

    You can transfer more than one file only if the description .FDF file you are using applies to all the files.

  9. Under Host, specify which host file and member should receive the data using one of the following techniques:

    • To create a member, click Show Host Files and browse to select a host file or type the file information in the File names box, using this syntax: LIBRARY/FILE

      -or-

    • To replace a member, click Show Host Files and browse to select a host file and member or type the file information in the File names box, using this syntax: LIBRARY/FILE(MEMBER)

    note

    If Reflection is configured to use a character set that is not supported by your host, you cannot display host files using the Show host files button.

  10. To initiate a file transfer, do one of the following:

    • Click the Transfer button.

      -or-

    • Drag the source file, and then drop it on a destination file.

To send data to a new file and member on an IBM System i (AS/400)

  1. In a 5250 session, open the File Transfer dialog box.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    Classic or Classic MDI On the Tools menu, choose Transfer File.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
  2. Click the Settings button to open the Transfer Settings dialog box.

  3. On the AS/400 tab, specify the host to send the data to and the credentials (Username and Password) you want to use to log on to the host.

    note

    You can transfer data to a host other than the host your session is connected to.

  4. On the Options tab, under To host, browse to the Description .FDF file that applies to the file you are transferring. (Reflection creates this file by default when you download a file.)

  5. To create a new file and member, in the Objects list, select Create File and Member and then enter the following settings:

    • In File type, select the type of file to create (Data or Source).

    • In the Authority list, choose the type of file permissions (for example, Read/Write) for the file.

    • To add a description for the file, enter a description in the File text box. (This is optional.) The text description is displayed when you view the files in your application.

    • To add a description for the member, enter a description in the Member text box. (This is optional.) The text description is displayed when you view file members in your application.

    • In the Reference file box, specify a reference file to use for the file you are sending, using the following syntax:

      library_name/filename

      The new host file is created using the field names in the description file and the definitions of the fields in the reference file.

    note

    A reference file is a physical file that defines the fields used in other files. You can create a field reference file that contains only the field descriptions that you need for any group of files or you can specify a file that has the same fields as the file you are creating.

  6. On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.

  7. From the Transfer dialog box, under Local, enter the file you want to transfer:

    • Browse under Local folders, and then select the file from the list.

      -or-

    • Type the path and filename into the File names box.

  8. Under Host, enter the library and the new host file in the File names box, using this syntax:

    LIBRARY/FILE(member)

    note

    If Reflection is configured to use a character set that is not supported by your host, you cannot display host files using the Show host files button.

  9. To initiate a file transfer, do one of the following:

    • Click the Transfer button.

      -or-

    • Drag the source file, and then drop it on a host library.

To receive data from an IBM System i (AS/400)

  1. Open the File Transfer dialog box. The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    Classic or Classic MDI On the Tools menu, choose Transfer File.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
  2. Click the Settings button, and configure the file transfer settings.

  3. On the AS/400 tab, specify the host to receive the data from and the credentials ( Username and Password ) you want to use to log on to the host.

    note

    You can transfer data from a host other than the one your session is connected to.

  4. On the Options tab, under From host, specify how you want Reflection to handle AS/400 transfers and select one of the following options in the Output to list.

    Choose this option To...
    Display Display the file in the Query Results display window.
    File Send the data to a file. If you don't specify a filename, Reflection uses the host filename.
    Spreadsheet Save the file in a DIF file that can be opened in a spreadsheet.
  5. If you are transferring files to the BIFF or BIFF8 file format and you want to include the column labels in your transfer, select Save column header (BIFF and BIFF8 only).

  6. On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.

  7. (Optional) To configure an SQL query, click Settings and from the SQL tab, build your query.

    Field information about the host file you selected is available when you click an arrow next to a field.

  8. In the Transfer dialog box, under Host, specify the host file from which to receive data as follows:

    • Click Show host files, and browse to select one or more host files. If the library containing the host file you need is not shown, click Add library and type the library name in the Add Library dialog box.

      -or-

    • Type the file information using this syntax: LIBRARY/FILE(MEMBER).

    note

    If Reflection is configured to use a character set that is not supported by your host, you cannot display host files using the Show host files button.

  9. In the Transfer method list, select how data conversion should be handled. For example, to transfer to a BIFF format, select BIFF or BIFF8.

  10. If you chose to transfer the data to a file, choose the file to receive the data under Local, in the File names box.

    • If you chose to output to a file on the Options tab, enter the file name and extension. (For BIFF or BIFF8 file transfers, use an .xls file extension. For example, use data.xls)

    • If you don't choose a file, the file is saved with the name of the file on the host.

    note

    If you chose to output to a spreadsheet on the Transfer Settings options tab, the file is automatically transferred as a DIF file.

  11. To initiate a file transfer, do one of the following:

    • Click the Transfer button.

      -or-

    • Drag the source file, and then drop it on the destination file.

More information

Transfer Files To and From HP3000, UNIX, and VMS Systems

Use Reflection to transfer files between your PC and an HP 3000 (including Classic, MPE/iX, and POSIX), VMS (including OpenVMS and Alpha computers), ULTRIX, Unisys, Linux Console or UNIX system. Or, transfer files to any host or electronic service that supports the FTP, Zmodem, Xmodem, Kermit, or SuperKermit protocols.

Reflection includes its own proprietary protocol, called the WRQ/Reflection protocol. Before you can transfer a file for the first time, your administrator must upload the host file transfer program. Host programs are provided for HP 3000, VAX/VMS (DEC), AXP machines, and UNIX operating systems. A system administrator may have already uploaded the host program; if so, you can skip this step.

To transfer a file

  1. Open the File Transfer dialog box. Start Reflection and log on to the host computer as usual.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    The Reflection Ribbon On the Session tab, from the Transfer group, click File Transfer.
    The Reflection Browser On the Reflection menu, choose Tools and then File Transfer.
    TouchUx Tap the Wrench icon and then under Tools, select File Transfer.
  2. From the Transfer dialog box, select a Protocol.

  3. Select a Transfer type.

  4. Select the action you want to occur if the transferred file exists in the target location.

    For more information about the options available, see the Transferring Existing Files topic.

  5. Click the Settings button, and configure the file transfer settings.

    For most situations, you can configure for file transfers by selecting a preset configuration in the Protocol tab.

  6. Click OK.

  7. Perform the file transfer using one of the following methods:

    • Drag one or more files directly from Windows Explorer to the Host icon in the Transfer dialog box (or from the Host file names list to Windows Explorer).

      -or-

    • Drag one or more files between the Local and Host boxes in the Transfer dialog box.

      -or-

    • Type one or more filename(s) in the text boxes, and then click one of the Transfer buttons.

      For more information about the filenaming options available, see the Filenaming and Wildcards topic.

    When the transfer begins, the File Transfer in Progress window opens. When transferring multiple files, this window displays the name of each file as it is being transferred; when the If file exists option is set to Cancel or there is some other error that stops the transfer, any remaining files matching a wildcard specification are not transferred. To cancel a file transfer in progress, click the Cancel button, press ESC, or press SPACEBAR.

More information

See For additional information about...
VT File Transfer Transferring files in HP3000, UNIX, and VMS systems.
Transfer Protocols Supported file transfer protocols.
Transfer Types The ASCII, Binary, and Image file types and the Auto-detect option.
Transferring Existing Files How to handle local or host file transfers when a file already exists at the file transfer destination
Transfer a File with Kermit How to transfer files between a PC and a host running Kermit protocol.

Transfer Files with FTP

You can transfer files in the FTP Client with a simple drag and drop operation. You can drag individual files, multiple files, and entire folders.

To transfer files with FTP Client

  1. Connect to an FTP site.

  2. Specify a transfer method ( Tools > Transfer Method).

  3. Set the preference for handling existing files. ( Tools > If File Exists).

    note

    Additional file transfer settings are available from the Site Properties dialog box. You can use these site-specific properties to configure file transfer.

  4. Browse to locate the files or folders you want to transfer and the destination location.

  5. Select the files or folders you want to transfer and drag them from the source location to your desired destination.

More information

Configure non-FTP File Transfer

You can manually configure file transfer settings in the Transfer Settings dialog box. Any configuration you perform is saved with your session document.

However, using an automated preset configuration is recommended.

To configure file transfer

  1. Open a terminal session.

  2. Open the Transfer Settings dialog box. The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon On the Session ribbon, from the Transfer group, click the Transfer Settings launcher:
    Reflection Browser On the Reflection menu, choose Tools and then File Transfer. In the Transfer dialog box, click the Settings button.
    TouchUx Tap the Wrench icon and then under Tools, select File Transfer. In the Transfer dialog box, click the Settings button.
  3. Configure the file transfer settings.

  4. For most situations, you can configure for file transfers by selecting a preset configuration in the Protocol tab (For example, AS/400).