View previous topic :: View next topic
|
Author |
Message |
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Hi,
Could you please let me know where to find the default options for FTP server.
For example, If we dont specifiy a record length of a file being sent, FTP automatically choose a LRECL and RECFM. Also the default line separators like LF or CRLF or NL. Where can we find the default values.
Thanks,
Vasanth.S |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Look at SYS1.TCPPARMS (or whatever it is called on your system). There is usually one or two members related to FTP in the data set (out of what can be quite a few members). Member FTPSDATA of SEZAINST is the server data configuration source while member FTCDATA of SEZAINST is the client data configuration source.
Start by looking at your TCPIP started task to see which configuration members are used. Something important to be aware of from www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.halz001/ftpconfigstatementsinftpdata.htm :
Quote: |
FTP configuration statements in Use [URL] BBCode for External Links
The Use [URL] BBCode for External Links configuration data set is optional. The FTP daemon searches for this data set during initialization.
The FTP server search order is:
A data set specified by the //SYSFTPD DD statement
ftpserve_job_name.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA)
hlq.FTP.DATA data set
As shown in Table 1, the FTP client uses one of the following search orders to obtain the local site parameter values:
Table 1. FTP client search orders
TSO shell
-f
SYSFTPD DD statement
tso_prefix.FTP.DATA
userid.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA) data set
tcpip_hlq.FTP.DATA file
UNIX System Services shell
-f
$HOME/ftp.data
userid.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA) data set
tcpip_hlq.FTP.DATA file
|
|
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Thanks Robert, I will check this out. |
|
Back to top |
|
|
|