Transferring files
Host On-Demand allows you to transfer files between a client and a host in five ways:
Using Host File Transfer to transfer files
Using an FTP session to transfer files
Using an sftp (SSH File Transfer Protocol) session to transfer files
Using a host session configured to use FTP to transfer files
Using a host session configured to use sftp to transfer files
Using Host File Transfer to transfer files
- Start a host session.
- Make sure that the correct host system and other
options have been specified.
- Click Transfer Files > Send or Receive, or the Send or Recv button on the toolbar.
|
When sending a file to an MVS/TSO host partitioned data set, the data set must
already exist on the host. |
- Designate the PC or host file names.
- If you are receiving VM/CMS host files (3270 session), you can use the Clipboard to quickly create a Transfer List of file names.
- With your mouse, select the desired files in your session display window.
- From the Host On-Demand menu bar, select Edit > Copy.
- In the Receive Files from Host window, click Clipboard. The Paste Host File-Names pop-up appears.
- The upper portion of the pop-up contains the file names you copied from your selection. Below the list of file names, in the Default Receive Directory field,
ensure that your desired directory path for receiving the files appears.
(If not, type it in.)
- Select the files you want to receive. Click OK.
- Your selected files appear in the Transfer List of the Receive Files from Host window.
- For file transfers other than receiving VM/CMS host files, there is no Clipboard option. Type in the name of the PC or host file in the appropriate field. You can click Browse to find a PC
file or an OS/400 file. When you click in the box for the target file, Host On-Demand
automatically generates a filename.
- If you want to transfer an existing list of files, click Open List and choose the
list.
- Set the transfer mode.
- If you want to change any of the transfer options
(parameters), click Options. The change applies only to the file that is currently in the
Add File to Transfer List box.
- Click Add to List (unless you have opened an existing list, or used the
Clipboard option to receive a list of VM/CMS host files). The file names and
transfer mode appear in the list box. If you want to transfer several
files, repeat steps 4 - 7.
- To transfer the files in the list, click Send or Receive.
- To save the list, click Save List and enter a name for the list.
|
A list can be used only for the purpose for which it was created. You cannot use a send
list to receive files and you cannot use a list created for MVS/TSO for VM/CMS transfers.
That is because options are often specific to host type and direction of transfer.
|
For troubleshooting tips about Host File Transfer and iSeries platforms, refer to the
Host File Transfer troubleshooting checklist.
Using an FTP session to transfer files
- Start an FTP session.
- Click on the file or directory you want to transfer. If you do not see the file or
directory you
want to transfer, you can use the working directory field above each of the file systems to
change to the directory that contains the files or directories you want to transfer, or to change to the
directory that you want to transfer files or directories into, by typing the fully qualified path.
- Click the arrow button in between the local file system and the remote file system to transfer
the file or directory.
Using an sftp (SSH File Transfer Protocol) session to transfer files
- Start an sftp (SSH File Transfer) session.
You configure this sesssion by clicking on the Properties for an FTP/sftp icon
and configuring the session to use SSH.
- Click on the file or directory you want to transfer. If you do not see the file or
directory you
want to transfer, you can use the working directory field above each of the file systems to
change to the directory that contains the files or directories you want to transfer, or to change to the
directory that you want to transfer files or directories into, by typing the fully qualified path.
- Click the arrow button in between the local file system and the remote file system to transfer
the file or directory.
Using a host session configured to use FTP to transfer files
- Start a host session.
- Select Actions > Transfer Files. Login to the FTP server if you are prompted to do so when
the FTP session displays .
- Select the file or directories you want to transfer. If you do not see the files or
directories you
want to transfer, you can use the working directory field above each of the file systems to
change to the directory that contains the files or directories you want to transfer, or to change to the
directory that you want to transfer files or directories into, by typing the fully qualified path.
- Click the arrow button in between the local file system and the remote file system to transfer
the files or directories.
Using a host session configured to use sftp to transfer files
- Start a host session.
- Select Actions > Transfer Files. Login to the sftp server if you are prompted to do so when
the sftp session displays .
- Select the file or directories you want to transfer. If you do not see the files or
directories you
want to transfer, you can use the working directory field above each of the file systems to
change to the directory that contains the files or directories you want to transfer, or to change to the
directory that you want to transfer files or directories into, by typing the fully qualified path.
- Click the arrow button in between the local file system and the remote file system to transfer
the files or directories.
Related topics: