Connecting to host name LOOPBACK at address 127.0.0.1 using port 21.
220-QTCP at localhost.
220 Connection will close if idle more than 5 minutes.
Enter login ID (gwil):
>>>GWIL ****
331 Enter password.
230 GWIL logged on.
OS/400 is the remote operating system. The TCP/IP version is "V4R2M0".
250 Now using naming format "0".
257 "QGPL" is current library.
Enter an FTP subcommand.
> CLOSE
221 QUIT subcommand received.
Enter an FTP subcommand.
> OPEN SYSNAMRS
Connecting to host name SYSNAMRS at address 9.4.73.198 using port 21.
220 sysnamrs.sysnam123.ibm.com FTP server (Version 4.9 Thu Sep 2 20:35:07 CDT
1993) ready.
Enter an FTP subcommand.
Figure 178. FTPOutput (FTPLOG) After Running FTPBATCH Program (Part 1)
> USER root ****
331 Password required for root.
230 User root logged in.
UNIX Type: L8 Version: BSD-44
Enter an FTP subcommand.
> ASCII
200 Type set to A; form set to N.
Enter an FTP subcommand.
> SYSCMD DLTF FILE(GERRYLIB/RS6)
Enter an FTP subcommand.
> GET /Itsotest GERRYLIB/RS6/RS7
200 PORT command successful.
150 Opening data connection for /Itsotest (467 bytes).
226 Transfer complete.
467 bytes transferred in 2.845 seconds. Transfer rate 0.167 KB/sec.
Enter an FTP subcommand.
Figure 179. FTPOutput (FTPLOG) after Running FTPBATCH Program (Part 2)
Chapter7. File Transfer Protocol (FTP) Client 275