LOCSITE (Specify Local Site Information)

FTP client subcommand

To specify information that is used by the FTP client to provide services specific to the client system, use the LOCSITE FTP client subcommand:

LOCSITE [ parameters ]

The iSeries™ FTP client supports these parameters and parameter options for the LOCSITE subcommand:

CRTCCSID *CALC
New database files created during ASCII file transfers use the related default EBCDIC CCSID of the ASCII file transfer CCSID. This is the default value.
CRTCCSID *USER
New database files created during ASCII file transfers use the current job CCSID. However, if this CCSID is 65535, the default CCSID determined by the language id in the current job specification.
CRTCCSID *SYSVAL
New database files created during ASCII file transfers use the CCSID that the QCCSID system value specifies.
CRTCCSID [CCSID-number]
Specify the CCSID you want to use when creating database files on the client during ASCII file transfers. The server validates this value.
CRTCCSID
Display a message that contains the current FTP client CRTCCSID setting.
TRIM 0
Set Trim option to OFF. The server sends trailing blanks of database records.
TRIM 1
Set Trim option to ON. The server does not send trailing blanks of database records when transferring database files that use file structure and stream mode. This is the default.
TRIM 2
Set Trim option so the server does not send trailing blanks of database records for all transfers, including record structure and block mode.
TRIM
Display a message that contains the current setting of the FTP client TRIM option.
Notes:
  1. Prior to the availability of this subcommand, trailing blanks of QSYS.LIB file system records were always removed before transferring the file to the server system.
  2. TRIM settings do not apply to TYPE I (binary) file transfers. Blanks are never trimmed for TYPE I file transfers, regardless of the TRIM setting.
DTAPROT C
Set the data protection variable to C (Clear). This variable is used to set the data protection level when opening a secure control connection. For more details about setting data protection security, refer to the following subcommands: SECDATA and SECOPEN.
DTAPROT P
Set the data protection variable to P (Private). This variable is used to set the data protection level when opening a secure control connection.
DTAPROT
Display a message that contains the current value of the data protection variable.
Related reference
SECData (Setting Data Security Protection)
SECOpen (Setting Data Security Protection)
File Transfer Protocol client syntax conventions