The easiest way to transfer files between the host and workstation is with file transfer lists. File transfer lists are lists of files or directories of files that you can either receive from or send to a host machine. You can use lists that are either part of your current session configuration or saved separately as a file.
File transfer lists can greatly simplify your work when you need to transfer several files or perform a transfer repeatedly. Also, when you save a file transfer list as a file, you can use it with multiple sessions and share it easily with co-workers. File transfer lists are available for sessions configured to use either Host File Transfer or FTP/sftp.
Host On-Demand provides five ways to transfer files between a client and a host:
Host File Transfer
File Transfer Protocol (FTP)
SSH File Transfer Protocol (sftp)
Host session configured to use FTP
Host session configured to use sftp
Host File Transfer allows you to transfer files between your workstation and a zSeries or iSeries host.
The zSeries host must be running MVS/TSO, VM/CMS, or MVS/CICS. File transfer uses the IND$FILE (SBCS) or APVUFILE (DBCS) program.
The iSeries host must be running the Integrated File System (IFS) on OS/400 V3R7 or later. No additional software is required.
File transfer will work only if the host system screen has a command line available. Refer to the Planning, Installing, and Configuring Host On-Demand guide for details.
You can transfer a single file or a list of files and you can save the list for repeated use. You can also modify and delete lists. The same interface is used in all cases except that, for OS/400, there is a button that lets you browse the IFS.
To transfer files using Host File Transfer, take the following steps:
For troubleshooting tips about Host File Transfer and iSeries platforms, refer to the Host File Transfer troubleshooting checklist.
For 5250 file transfer on Netscape 4.x, you cannot connect to a V5R1 iSeries host that has long password support enabled. The Netscape 4.x JVM does not implement the APIs required to encrypt long passwords. You can use a different browser or install the Netscape 4.x Java 2 plug-in.
In order to make iSeries file browsing more efficient when browsing files under the QSYS library, Host On-Demand only lists the files that can be transferred under the QSYS library file system. This may change your file list when you browse the QSYS file system. Host On-Demand lists:
*.LIB
objects as directories under the QSYS library.*.FILE
as files under the QSYS library.*.FILE
objects as directories under any other library.Due to the security restrictions in recent JREs, Host On-Demand clients now use the CustomizedCAs.p12 file instead of the KeyRing.class file for reading public key information to transfer files using SSL enabled 5250 sessions. This eliminates the need to add the host's public key to the KeyRing.class file.
Because Host File Transfer shares the display session's TCP/IP socket, file transfer has the same level of security as the display session itself. Therefore in order to provide security for Host File Transfer you should configure the display session for TLS or SSL.
With FTP you can transfer, delete, or rename a single file or directory or multiple files or directories from either the local file system or the remote file system.
You can transfer files or directories between your workstation and any host system running an FTP server. Host On-Demand implements the client functionality specified by File Transfer Protocol (FTP, IETF RFC0949), which is the standard protocol for transferring files to and from remote machines running FTP servers.
You can configure 3270, 5250 and VT sessions to use the FTP client as the default file
transfer type, instead of Host File Transfer. The FTP session starts in a separate browser
window from the host session. The FTP client interface is the same in all cases.
To transfer files using FTP, take the following steps:
FTP uses a different TCP/IP socket than the display session. Therefore in order to provide security for FTP you should configure the FTP session to use TLS or SSL.
You can transfer files or directories between your workstation and a host system running an sftp server. Many SSH servers also contain sftp server function.
Only the binary transfer mode is supported.
You can configure VT Display sessions to use the sftp client as the default file transfer type, instead of FTP. The sftp session starts in a separate browser window from the host session.
You can transfer, delete, or rename a single file or directory or multiple files or directories from either the local file system or the remote file system.
To transfer files using sftp, take the following steps:
Sftp uses a different TCP/IP socket than the display session. However, the socket that is used for sftp is not a secure socket (a secure socket would be, for example, a socket that is configured to use SSL or TLS). Instead, the SSH File Transfer Protocol provides security over a non-secure socket.
To transfer files using a host session that is configured to use FTP, take the following steps:
For information about host definitions, requirements, and security, refer to File Transfer Protocol (FTP).
To transfer files using a host session that is configured to use sftp, take the following steps:
For information about host definitions, requirements, and security, refer to SSH File Transfer Protocol (sftp).
Related topics: