NAMEFMT (Select File Naming Format)

FTP client subcommand

To select which file name format to use on the local system and the remote system (if it is an iSeries™), use the NAMEFMT FTP client subcommand:

NAmefmt [ 0 | 1 ]

0
A name format only for library file system database files. The general format is:
[libname/]filename[.mbrname]
1
A name format for all file systems that FTP supports, including the library file system. You must set the name format to '1' to work with all iSeries file systems.

Library file system files in this name format are:

[/QSYS.LIB/][libname.LIB/]filename.FILE[/mbrname.MBR]

For save files, you can also use the format:

/QSYS.LIB/libname.LIB/filename.SAVF

Files in the document library services file system are in this format:

[/QDLS/][{foldername[.ext]/}]filename[.ext]

For optical, the format is:

/QOPT/volname/dirname/filename.ext
Notes:
  1. You can set the name format to 0 only when the working directory is a database library.
  2. If you specify the NAMEFMT subcommand without a parameter, the client displays the current name format.
Related reference
APPEND (Append a Local File Member to a Remote File)
DELETE (Delete a File on a Remote System)
DIR (List Directory Entries, Libraries, or Files)
File systems and naming conventions
File Transfer Protocol client syntax conventions