FTPOSTPR is called after execution of the FTP commands RETR, STOR,
STOU, APPE, DELE, and RNTO. The following information is passed to
the exit:
- The user ID
- Client IP address *
- Client port number *
- The directory type (MVS™ or
HFS)
- The current working directory
- The FILETYPE (SEQ, JES, or SQL)
- Most recent reply code number
- Most recent reply text string
- Current FTP
command
- Current CONDDISP
setting
- Close reason code
- Name of data set or z/OS® UNIX file retrieved or stored
- Bytes transferred
- The socket address structure of the client's control connection
- The socket address structure of the server's control connection
- Session instance identifier
- A 256-byte scratchpad buffer
- The 1-byte description of the confidence-of-successful-completion
level assigned to this file transfer
Notes: - Fields above marked with an asterisk (*) are valid only for IPv4
addresses, including IPv4-mapped IPv6 addresses.
- The directory type reflects the current working directory. The MVS data set or z/OS UNIX file
that is retrieved or stored can be located in a different type of
directory.
The exit allows for post processing at the termination of data
transfer functions within the server.