ST_FTP_FileDetails

Syntax

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

Parameter

Name

Type

Description

bDir

BOOL

Specifies whether it is a file or a directory (not supported by every FTP server).

sPermission

STRING

Specifies the permission parameters of the file/directory (not supported by every FTP server).

nSize

UDINT

Specifies the size of the file.

nFilecode

UDINT

Returns the file code (not supported by every FTP server).

tTimstamp

DT

Specifies the timestamp of the file.

sOwner

STRING

Returns the user (not supported by every FTP server).

sGroup

STRING

Specifies the associated group (not supported by every FTP server).

sFilename

STRING

Specifies the name of the file/directory.

Requirements

Development Environment

Target Platform

PLC Libraries to include

TwinCAT v3.0 Build 3102

PC or CX (x86)

Tc2_FTP