Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : FILE-TYPE attribute
 

FILE-TYPE attribute

A string of characters that indicate the type of file that is currently specified for the FILE-INFO handle.
Data type: CHARACTER
Access: Read-only
Applies to: FILE-INFO system handle
The character string specifies two classes of file types—one type per file from the first class and one or more types per file from the second class. The following table lists the file type characters from the first class of file types.
Table 79. File type characters—one per file
File type
Description
D
The file is a directory.
F
The file is a standard file or FIFO pipe (UNIX systems).
M
The file is a member of an ABL procedure library.
S
The file is a special device (UNIX systems).
X
The file type is unknown. (Contact your Progress Software Corporation Technical Support representative if you receive this value.)
The following table lists the file type characters from the second class of file types.
Table 80. File type charactersone or more per file
File type
Description
H
The file is hidden.
L
The file is a symbolic link (UNIX systems).
P
The file is a pipe file (UNIX systems).
R
The file is readable.
W
The file is writeable.