Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Setting up further FTP server tasks

&pagelevel(4)&pagelevel

It may be desirable in certain situations to operate additional FTP servers, for example as test versions. A copy is made of the standard ENTER jobs SYSENT.TCP-IP-AP.nnn.FTPD and SYSENT.TCP-IP-AP.nnn.FTPDC for this purpose.

When configuration takes place via an option file, a second option file with correspondingly modified server options must be created. The name of this second option file must be specified in the copy of SYSENT.TCP-IP-AP.nnn.FTPD using the -M option.

The following table describes the essential changes to be made to Server 2. The changes are highlighted in bold.

Server 1

Server 2

SYSENT.TCP-IP-AP.nnn.FTPD:


/.FTPSR LOGON
  ...
/SYSFILE SYSLST=$TSOS.SYSOUT.TCP-IP-AP.nnn.FTPD
  ...

-B 0 \
-F $TSOS.SYSENT.TCP-IP-AP.nnn.FTPDC\

-E $TSOS.SYSDAT.TCP-IP-AP.nnn.SI\
-K $FTAC \

-J cccccccc\
-X 0\

-O 03600\
-A FTPSR\

-N 0015\
-D 0\

-T 0\
-S 0\

-C *MOD($TSOS.SYSLNK.TCP-IP-AP.nnn, FTPDC,RUN=ADV,PROG=ANY)



SYSENT.TCP-IP-AP.nnn.FTPD2 :


/.FTPS2 LOGON
  ...
/SYSFILE SYSLST=$TSOS.SYSOUT.TCP-IP-AP.nnn.FTPD2
  ...
-B 0 \
-F $TSOS.SYSENT.TCP-IP-AP.nnn.FTPDC2 \
-E $TSOS.SYSDAT.TCP-IP-AP.nnn.SI2 \

-K $FTAC \
-J cccccccc\
-X 0\
-O 03600\
-A FTPS2 \
-N 0015\
-D 0\
-T 0\
-S 0\
-C *MOD($TSOS.SYSLNK.TCP-IP-AP.nnn, FTPDC,RUN=ADV,PROG=ANY) \
-D 0\

-T 0\
-S 0\
-C *MOD($TSOS.SYSLNK.TCP-IP-AP.nnn,FTPDC,RUN=ADV,PROG=ANY) \
-P nnn              ( nnn ist Portnummer)

SYSENT.TCP-IP-AP.nnn.FTPDC:

/.FTPSR LOGON

  ...
-N\
-E $TSOS.SYSDAT.TCP-IP-AP.nnn.SI \
-D 0\
-T 0

SYSENT.TCP-IP-AP.nnn.FTPDC2:

/.FTPS2 LOGON

  ...
-N\
-E $TSOS.SYSDAT.TCP-IP-AP.nnn.SI2 \
-D 0\
-T 0

Start of server task:

/START-FTP-DEMON

Start of second server task: 

/ENTER-JOB SYSENT.TCP-IP-AP.nnn.FTPD2

Connection setup:

/FTP

open <rechner>

Connection setup:

/FTP

open <rechner> nnn    (nnn ist Portnummer)


Other changes are possible to the server parameters. The backslash "\" after the server statements is interpreted as a continuation character. No further characters may follow "\".