vUsing the home directory.The TCP/IP FTP server uses the home directory
specified in the AS/400 user profile. If the specified directory cannot be accessed,
the root directory (/) is used as the home directory.
vSelecting the initial working directory.The initial working directory may be set to
either the user’s current library or the user’s home directory.
Functions Not Supported by FTP Server
vLogging on the AS/400 FTP server is not the same as signing on theAS/400
system. The initial program to call (INLPGM) parameter does not run.
vTransferring selected records within files.
vSelection or omission of fields within records when transferring files. Youmust
transfer an entire physical or logical record.
Configuring FTP Servers
The TCP/IP Connectivity Utilities forAS/400 licensed program comes with TCP/IP
FTP servers configured. Youcan configure more servers with the Change FTP
Attributes (CHGFTPA) command.The display is shown in Figure 183 on page 281.
The CHGFTPAcommand updates a database file called
QUSRSYS/QATMFTP.CONFIG,which is used by the FTP servers.
Starting FTP Servers
To use the command line interface to start the FTPserver(s):
The server job for a TCP/IP application must be started in the QSYSWRK
subsystem. If no FTP server jobs are running, the Start TCP/IP Server
(STRTCPSVR) command starts the number of FTP servers that have been
configured and specified to start automatically in the FTP server configuration. If
you have not configured any FTP servers, the FTP servers that have been shipped
with the TCP/IP Utilities licensed program will be started.
Typically,the STRTCP command will start the FTP server job. The only time that is
not true is if you specify *NO for the AUTOSTARTparameter in the FTP server
configuration. In this case, the FTP server job is started when STRTCPSVR *FTP is
issued. The STRTCPSVR command overrides theAUTOSTART parameter.
Tomanually start further FTP server jobs, use the command STRTCPSVR *FTP to
start one additional FTP server.
FTP server jobs remain active for use by subsequent users after a client session
has been ended.
Note: The FTP server cannot start if character conversion is not available between
the system’s default job CCSID and the ASCII CCSID specified by the FTP
attributes. In this case, message TCP3C14, Unable to convert data from
CCSID &1; to CCSID &2,; appears in the FTP server job log. If this situation
occurs, you must specify a different ASCII CCSID for which character
conversion is available by using the CHGFTPAcommand. CCSID 850, which
contains the IBM PC Latin-1 coded character set, is an ASCII CCSID for
which character conversions are available to all valid job CCSID values.
280 OS/400 TCP/IPConfiguration and Reference V4R4
|
|
|
|
|
|
|
|
|
|