Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Displaying the current settings of the FTP server

&pagelevel(3)&pagelevel

You can use the BS2000 command SHOW-FTP-TELNET-STATUS to obtain information on the current settings of BS2000 FTP servers.

The following information is output:

  • Settings made when the servers were generated

  • Current information on the TSN of the server task’ and number of active connections

The servers place the data in auxiliary files with the following names:

  • SYSDAT.TCP-IP-AP.nnn.FTPD.CONF.<port>

<port> specifies the port number of the relevant server.

These files are deleted when the relevant FTP server is shut down.

SHOW-FTP-TELNET-STATUS

SERVER= *FTP (...)/ *TELNET(...)

*FTP(...)

|PORT-NUMBER= *STD-PORT / *ANY / <integer 0..32767>

*TELNET(...)

|PORT-NUMBER=*STD-PORT / *ANY / <integer 0..32767>
, INFORMATION= *STD /*ALL
, OUTPUT=*SYSOUT/*SYSLST


SERVER=
Name of the server whose data is to be output (FTP or TELNET).

SERVER=*FTP(...)
Output of an FTP server’s configuration data. This is the default.

PORT-NUMBER=
Port number of the FTP server whose configuration data is to be output.

PORT-NUMBER=*STD-PORT
Port number 21. This is the default.

PORT-NUMBER=*ANY
Information on all FTP servers currently active is output.

PORT-NUMBER=<integer 0..32767>
Port number of the FTP server whose configuration data is to be output.

INFORMATION=
Type and scope of the information output.

INFORMATION= *STD
Output of a list of servers specified by PORT-NUMBER. This is the default.

INFORMATION= *ALL
Output of all information on all servers specified by PORT-NUMBER.

OUTPUT=
Output medium to which the information is to be written.

OUTPUT=*SYSOUT
Output is to SYSOUT. This is the default.

OUTPUT=*SYSLST
Output is to SYSLST.



Messages and return codes

Messages

TCP9240

COMMAND SHOW-FTP-TELNET-STATUS SUCCESSFULLY COMPLETED.

Meaning
SHOW-FTP-TELNET-STATUS successfully completed.

Response
<None>

TCP9241

ERROR DMS(&00) DURING EXECUTION OF FSTAT.

Meaning
Error in FSTAT on configuration files.

Response
Check whether any servers are active.

TCP9242

COULD NOT OPEN CONFIGURATION FILE (&00).

Meaning
Configuration file (&00) could not be opened.

Response
Check whether the desired server is active.

TCP9243

COULD NOT READ CONFIGURATION FILE (&00).

Meaning
Configuration file (&00) could not be read.

Response
Check file.



Command return codes

(SC2)        SC1

Maincode

Meaning

0TCP9240Command successfully completed
64TCP9241See message TCP9241
64TCP9242See message TCP9242
64TCP9243See message TCP9243