File and directory entries in IBM i format

System i® clients support listing the files on a File Transfer Protocol (FTP) server in both the IBM® i format and the format specific to UNIX. This topic discusses the IBM i format.

Here is the original IBM i style format for the LIST subcommand (when LISTFMT=0):

owner size date time type name

A blank space separates each field.

This is a description of each field:

owner
The 10-character string that represents the user profile which owns the subject. This string is left-aligned, and includes blanks. This field is blank for anonymous FTP sessions.
size
The 10-character number that represents the size of the object. This number is right-aligned, and includes blanks. This field is blank when an object has no size associated with it.
date
The 8-character modification date in the format that is defined for the server job. It uses date separators that are defined for the server job. This modification date is left-aligned, and it includes blanks.
time
The 8-character modification time that uses the time separator, which the server job defines.
type
The 10-character i5/OS object type.
name
The variable length name of the object that follows a CRLF (carriage return, line feed pair). This name can include blanks.

Here is an example of the original IBM i style format:

BAILEYSE     5263360 06/11/97 12:27:39 *FILE     BPTFSAVF