InfoCenter

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

  1. Start a host session.


  2. Make sure that the correct host system and other options have been specified.


  3. 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.

  4. Designate the PC or host file names.
  5. Set the transfer mode.


  6. 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.


  7. 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.


  8. To transfer the files in the list, click Send or Receive.


  9. 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

  1. Start an FTP session.


  2. 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.


  3. 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

  1. 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.


  2. 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.


  3. 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

  1. Start a host session.


  2. Select Actions > Transfer Files. Login to the FTP server if you are prompted to do so when the FTP session displays .


  3. 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.


  4. 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

  1. Start a host session.


  2. Select Actions > Transfer Files. Login to the sftp server if you are prompted to do so when the sftp session displays .


  3. 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.


  4. Click the arrow button in between the local file system and the remote file system to transfer the files or directories.


Related topics: