Available FTP Servers
The minimum number of available FTP servers to be kept ready for future client
connections is the number of initial servers specified in the NBRSVR parameter in
the FTP server configuration. When a client connects to an AS/400 FTPserver, the
server examines the number of active servers that are not connected to a client and
the value specified in the NBRSVR parameter. If the NBRSVR parameter is greater
than the number of available servers, additional servers are started so that the two
numbers are equal. If the NBRSVR parameter is less than the number of available
servers, no action is taken.
For example, if there are five FTP client sessions established at the same time and
the NBRSVR parameter is set at 10, there will be 15 FTP servers running. The 15
servers include five servers for the five active client sessions and ten available
servers. The number of available servers can be larger than the NBRSVR
parameter. In this same example, if the five clients end their sessions and no other
sessions are started, there will be 15 available servers.
Changes to the NBRSVR parameter take effect at the time of the next client
connection, when the above process is activated.
Ending FTP Servers
Toend all AS/400 FTP servers, type the following AS/400CL command:
ENDTCPSVR *FTP
It is not possible, using the ENDTCPSVR command, to selectively end only some
servers of a given type. Todo this, you need to use the End Job (ENDJOB)
command against each server job.
Change FTP Attributes (CHGFTPA)
Type choices, press Enter.
Autostart servers ....... *YES *YES, *NO, *SAME
Number of initial servers . . . 3 1-20, *SAME, *DFT
Inactivity timeout....... 300 0-2147483647, *SAME, *DFT
Coded character set identifier 00819 1-65533, *SAME, *DFT
Server mapping tables:
Outgoing EBCDIC/ASCII table . *CCSID Name, *SAME, *CCSID, *DFT
Library .......... Name, *LIBL, *CURLIB
Incoming ASCII/EBCDIC table . *CCSID Name, *SAME, *CCSID, *DFT
Library .......... Name, *LIBL, *CURLIB
Initial name format ...... *LIB *LIB, *SAME, *PATH
Initial directory ....... *CURLIB *CURLIB, *SAME, *HOMEDIR
Initial list format ...... *DFT *DFT, *SAME, *UNIX
New file CCSID......... *CALC *1-65533, *SAME, *CALC
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Figure 183. Change FTPAttributes (CHGFTPA) Display
Chapter8. File Transfer Protocol (FTP) Server 281
|
|
|
|
|
|
|
|