The scenario shows how to use basic functions of File Transfer Protocol (FTP) to get files from a remote host. In this scenario, the client and the server are both using i5/OS® FTP.
Suppose that a colleague developed Java™ files on a remote system. As a system engineer, you need to transfer the example.jar file from the remote system to your local test system.
Use FTP to transfer the file across a TCP/IP network.
To transfer the file, two connections are used: the control connection and the data connection. The control connection is used to send subcommands from the client to the server and receive responses to those commands from the server to the client. The client initiates FTP commands to the FTP server. The data connection is used to transfer the actual files. Both the client and the server interface with the i5/OS file system.
To transfer files, you need a user ID on both systems. Here are the system requirements:
To transfer files, you also need to know the following information:
Configuration tasks
You need to complete the following tasks to perform a simple file transfer:
You can also transfer files automatically by using FTP as a batch job.
For this scenario: theirco.com.
Enter login ID (yourid): ===>yourid
Enter password: ===>yourpassword
For this scenario: ===> BINARY
For this scenario: ===> get example.jar
For this scenario: ===> QUIT