ST_FindFileEntry

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_TYPE

sFileName: A null-terminated string that is the name of the file.

sAlternateFileName: A null-terminated string that is an alternative name for the file. This name is in the classic 8.3 (filename.ext) file name format.

fileAttributes: Specifies the file attributes of the file or directory found.

fileSize: 64 bit unsigned integer. The size of the file is equal to (dwHighPart * (0xFFFFFFFF+1)) + dwLowPart.

creationTime: For both files and directories, the structure specifies when the file or directory was created.

lastAccessTime: For a file, the structure specifies when the file was last read from or written to.For a directory, the structure specifies when the directory was created.

lastWriteTime: For a file, the structure specifies when the file was last written to. For a directory, the structure specifies when the directory was created.

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.10.0 Build > 1302

PC or CX (x86)

TcUtilities.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301

CX (ARM)