TYPE ST_FTP_FileDetails

VAR_INPUT

TYPE ST_FTP_FileDetails :
STRUCT
    bDir            : BOOL;
    sPermission     : STRING(10);
    nSize           : UDINT;
    nFilecode       : UDINT;
    tTimestamp      : DT;
    sOwner          : STRING(79);
    sGroup          : STRING(79);
    sFilename       : STRING(79);
END_STRUCT
END_TYPE

bDir : Shows if it is a file or a folder. (won't be supported by every FTP Server)

sPermission : Shows the permissions of the file/folder. (won't be supported by every FTP Server)

nSize : Supply the size of the file.

nFilecode : Supply the file code. (won't be supported by every FTP Server)

tTimstamp : Returns the timestamp of the file/folder.

sOwner : Returns the owner of the file/folder. (won't be supported by every FTP Server)

sGroup : Shows the group of the file/folder. (won't be supported by every FTP Server)

sFilename : Shows the name of the file/folder.

Requirements

Development environment

Target system type

PLC libraries to be linked

TwinCAT v2.10.0

PC oder CX (x86)

TcFTPClient.Lib

TwinCAT v2.10.0

CX (ARM)