ST_FindFileEntry
This data type is used by the file search function blocks: FB_EnumFindFileEntry and FB_EnumFindFileList.
TYPE ST_FindFileEntry :
STRUCT
    sFileName          : T_MaxString;
    sAlternateFileName : STRING(13);
    fileAttributes     : ST_FileAttributes;
    fileSize           : T_ULARGE_INTEGER;
    creationTime       : T_FILETIME;
    lastAccessTime     : T_FILETIME;
    lastWriteTime      : T_FILETIME;
END_STRUCT
END_TYPEValue  | Meaning  | 
|---|---|
sFileName  | Null-terminated string with the name of the file or directory (type: T_MaxString).  | 
sAlternateFileName  | Null-terminated string with the alternative name of the file or directory in conventional 8.3 format (filename.ext).  | 
fileAttributes  | Structure with file/directory attributes (type: ST_FileAttributes).  | 
fileSize  | Byte size of the file (64-bit number, type: T_ULARGE_INTEGER). 
  | 
creationTime  | The structure variable indicates when the file or directory was created (type: T_FILETIME).  | 
lastAccessTime  | For a file, the structure indicates when the file was last read or written (type: T_FILETIME). For a directory the structure indicates when it was created.  | 
lastWriteTime  | For a file the structure indicates the time of the last write access (type: T_FILETIME). For a directory the structure indicates when it was created.  | 
Requirements
Development environment  | Target platform  | PLC libraries to be integrated (category group)  | 
|---|---|---|
TwinCAT v3.1.0  | PC or CX (x86, x64, Arm®)  | Tc2_Utilities (System)  |