NAMEFMT (Select File Naming Format)
The NAMEFMT IBM® i FTP client subcommand selects which file name format to use on the local system and the remote system.
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 IBM i 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:
- You can set the name format to 0 only when the working directory is a database library.
- If you specify the NAMEFMT subcommand without a parameter, the client displays the current name format.