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.
If the Internet server application is defined with IP-ANY, the value specified for the MAXPROC parameter is the limit. If the Internet server application is defined with more than one IP address, the value specified for the MAXPROC parameter applies to each IP address.
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.
The XPARM parameter must be the last parameter in the command entry. You must specify a string of parameter data; if you specify a NULL string, problems occur when the Internet server application is started.