
You should check this output for errors that might have occurred during FTP
processing. You can either check visually or run a program that tests for error reply
codes. Three-digit FTP error reply codes start with 4 or 5. Be careful to avoid
messages such as ’467 bytes transferred...’.
Sample Procedure:
A sample REXX procedure and a sample physical file
member are shipped as part of the TCP/IP product. File QATMPINC in library
QTCP includes the following two members:
v BATCHFTP that contains REXX source code to specify the input and output
batch files, and start FTP.
v BFTPFILE that contains the subcommands and data required for logon and
running FTP.
Exit Points for FTP
This material is covered in the AS/400e Information Center under the TCP/IP
topic. For more information see “TCP/IP Topics in the Information Center” on
page xv.
> CLOSE
221 QUIT subcommand received.
Enter an FTP subcommand.
> QUIT
(This ends the FTP application)
Figure 182. FTP Output (FTPLOG) after Running FTPBATCH Program (Part 5)
Chapter 7. File Transfer Protocol (FTP) Client 277
|
|
|
|