213
FINS Commands Section 5-3
Total Number of Files
The number of files recorded in the absolute directory path. Volume labels,
hidden files, system files, subdirectories, the current directory (indicated by .),
and the parent directory (indicated by . .) are all counted as files. (The root
directory can contain a volume label, but not a current directory or parent
directory mark.)
Number of files (response)
The number of files that have been read. Bit 15 is ON (1) if the last file is
included.
File data (response)
Each file data consists of 22 bytes. The specified files will be transmitted in
sequence starting from the first file. The total number of bytes required is cal-
culated as follows:
Number of read files x 22 bytes
The configuration for each file data is as follows:
File Name
Specify the name of the file. Refer to Volume Labels and File Names on
page 168 for the structure of file names.
Date and Time
Indicates the date and time at which the file was created. (See the note below
for details of the configuration.)
File Capacity
Indicates the size (the number of bytes, in four digits hexadecimal) of the file.
Attribute
Note Date and Time Configuration:
The data and time consists of 4 bytes (32 bits) and is configured in the way
shown below.
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
Bit 15 OFF (0): Without last file
Bit 15 ON (1): With last word file
Bits 0 to 14: No. of files read
Date/time File capacityFile name
1st byte
12 bytes
22nd byte
Attribute
15 876543210
āā
Bit
Second byteFirst byte
āā
Reserved area
1: Read-only file
1: Hidden file
1: System file
1: Volume label
1: Subdirectory
1: Archive file