The File Transfer Protocol (FTP) server arranges the information units of a file system in a multiple-level tree-like structure.
The i5/OS™ file systems that you can use with FTP vary depending on the release level of the operating system. File systems on i5/OS can use different terms for data and the hierarchical grouping of data.
Each i5/OS file system has its own set of rules for naming files. The format you use to name any file must adhere to the naming conventions of the file system in which it resides. Formats and examples of file names for FTP-enabled i5/OS file systems are described in the topic Integrated file system. The server can provide naming information for files on non-iSeries servers when you use the QUOTE HELP subcommand.
FTP server NAMEFMT
When an FTP server session is started, NAMEFMT is set to a value of 0. You can change the NAMEFMT value by using the SITE subcommand.
The server automatically switches from the default of NAMEFMT 0 to NAMEFMT 1 when the 'first' file or pathname parameter received in a subcommand either:
or
Any subsequent server subcommands with a file or path name parameter will not affect the NAMEFMT value. In addition to changing the NAMEFMT, the server reply for the subcommand will include a statement saying that the NAMEFMT value has been changed.
For example, the server NAMEFMT value will be changed to "1" if the first server subcommand with a file or path name is:
CWD /DIR1/DIR2A
The server reply will be:
250-NAMEFMT set to 1. 250 Current directory changed to /DIR1/DIR2A.