Adding the FTP server
To add the FTP server to the IDCF, enter:
ZINET ADD S-FTPD PGM-CFTP MODEL-NOWAIT PORT-21 P-TCP IP-ipaddr ACT-acttype STATE-state TIME-time MAXPROC-procnum USER-ROOT XPARM-args
Where:
- ipaddr
- A local intranet IP address or the value ANY. Typically, this type of address is assigned by a local network administrator.
- acttype
- How you want to start the Internet server application. Specify OPER if you want to start and stop the FTP server manually. Specify AUTO if you want the FTP server to be automatically started when the Internet Daemon is started.
- state
- The lowest z/TPF system state in which the FTP server can be started. Specify 1052, CRAS, or NORM. If you activate the FTP server in 1052 state, you must activate the file system before doing any FTP operations.
- time
- The amount of time in seconds that the Internet Daemon listener allows an Internet server application process instance to exist. Specify a value in the range 0 - 32000.
- procnum
- The maximum number of Internet server application process instances for every IP address that the Internet Daemon listener allows in the z/TPF system. Specify a value in the range 0 - 1000.
- args
- A string of parameter data that is passed to the FTP server. The string is case-sensitive and can contain any alphanumeric or special characters. End the string with a newline character by using the Enter key. For example, you can specify XPARM--dlv to create FTP log files with diagnostic data.