> CLOSE
221 Goodbye.
Enter an FTP subcommand.
> OPEN MVAX
Connecting to host system mvax at address 9.4.6.252 using port 21.
220 FTP Service Ready
Enter an FTP subcommand.
> USER TESTER ******
331 User name TESTER received, please send password
230 TESTER logged in, directory $DISK1:|TESTER¦
Enter an FTP subcommand.
GET SCREEN1.FILE GERRYLIB/VAX.VAX (REPLACE
200 PORT Command OK.
125 ASCII transfer started for $DISK1:|TESTER¦SCREEN1.FILE;1(266586 bytes)
226 File transfer completed ok.
265037 bytes transferred in 8.635 seconds. Transfer rate 30.694 KB/sec.
Enter an FTP subcommand.
> CLOSE
221 Goodbye.
Enter an FTP subcommand.
OPEN SYSNAM02
Connecting to host system SYSNAM02 at address 9.4.73.250 using port 21.
220-QTCP at SYSNAM02.sysnam123.ibm.com.
220 Connection will close if idle more than 5 minutes.
Enter an FTP subcommand.

Figure 180. FTPOutput (FTPLOG) after Running FTPBATCH Program (Part 3)

> USER 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.
> EBCDIC
200 Representation type is EBCDIC nonprint.
Enter an FTP subcommand.
> PUT GERRYLIB/RS6.RS6 GERRYLIB/RS6.RS6
200 PORT subcommand request successful.
150 Sending file to member RS6 in file RS6 in library GERRYLIB.
250 File transfer completed successfully.
467 bytes transferred in 0.148 seconds. Transfer rate 3.146 KB/sec.
Enter an FTP subcommand.
> RCMD SNDNETF FILE(GERRYLIB/RS6) TOUSRID((GERRYLIB SYSNAM14))
250 Command SNDNETF FILE(GERRYLIB/RS6) TOUSRID((GWIL SYSNAM14))
successful.
Enter an FTP subcommand.

Figure 181. FTPOutput (FTPLOG) after Running FTPBATCH Program (Part 4)

276 OS/400 TCP/IPConfiguration and Reference V4R4