Retrieve name and other information for all files and subdirectories in a given directory and return in a sequence of reply messages.
*dir <directory>
directory
Fully qualified name of the directory from which the information is to be retrieved
0 Directory information successfully retrieved. Data has been returned in a sequence of reply messages. Each reply message contains information about a single file or directory (see below).
1 Parameter error. No directory has been specified
2 Unable to retrieve directory information
3 Directory does not exist
The reply message consists of a number of fields that all contain character data.
character offset |
type |
contents |
0 |
text(255) |
long file name |
255 |
text(12) |
8.3 file name |
267 |
decimal(20) |
file size in bytes |
287 |
date/time |
file creation |
313 |
date/time |
file last access |
339 |
date/time |
file modification |
365 |
flag |
archive |
366 |
flag |
read-only |
367 |
flag |
hidden |
368 |
flag |
system |
369 |
flag |
directory |