You can transfer files using mainframe file transfer or FTP file transfer.
You can send or receive files on IBM3270 mainframes or IBM System i systems.
To transfer files to a mainframe from your PC
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.
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. |
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.
Click OK.
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.
Select your preferences for Transfer method, If file exists, and Record format.
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. |
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
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. |
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.
Click OK.
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. |
Select your preferences for Transfer method, If file exists, and Record format.
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.
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.
See |
For information about... |
---|---|
IBM System i (AS/400) transfer configuration options |
|
Creating a list of transfers in a transfer request file that can be used to perform multiple transfers in a single operation |
|
Configuring file transfer settings |
|
Transfer request files |
|
Support for IBM file transfer |
|
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 |
|
How to create a custom file template |
|
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. |
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)
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. |
Click the Settings button to open the Transfer Settings dialog box.
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.
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.)
In the Objects list, select one of the options to create a new member or replace an existing member.
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.
On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.
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.
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.
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)
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. |
Click the Settings button to open the Transfer Settings dialog box.
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.
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.)
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.
On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.
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.
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.
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)
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. |
Click the Settings button, and configure the file transfer settings.
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.
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. |
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).
On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.
(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.
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.
In the Transfer method list, select how data conversion should be handled. For example, to transfer to a BIFF format, select BIFF or BIFF8.
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.
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.
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
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. |
From the Transfer dialog box, select a Protocol.
Select a Transfer type.
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.
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.
Click OK.
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.
For more, see the following topics:
See |
For additional information about... |
---|---|
Transferring files in HP3000, UNIX, and VMS systems. |
|
Supported file transfer protocols. |
|
The ASCII, Binary, and Image file types and the Auto-detect option. |
|
How to handle local or host file transfers when a file already exists at the file transfer destination |
|
How to transfer files between a PC and a host running Kermit protocol. |
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
Connect to an FTP site.
Specify a transfer method ( Tools > Transfer Method).
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.
Browse to locate the files or folders you want to transfer and the destination location.
Select the files or folders you want to transfer and drag them from the source location to your desired destination.
See |
For additional information about... |
---|---|
How to use the FTP Client to drag files between two remote sites |
|
How to troubleshoot problems such as site-to-site transfer, client connections, and file transfer problems. |
|
FTP and SFTP command syntax. |
|
How to resume an incomplete download of a server file to your PC |
|
Information about using FTP client scripts and the FTP Client Automation API. |
|
Set the file type (ASCII, binary, Tenex, or Smart) for transfers |
|
Connecting to a site, preserving a connection to a server, and making secure FTP client connections |
|
FTP client scripting and script file format |
|
FTP and SFTP commands |
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
Open a terminal session.
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. |
Configure the file transfer settings.
For most situations, you can configure for file transfers by selecting a preset configuration in the Protocol tab (For example, AS/400).