ST_FTP_ConnInfo

Syntax

TYPE ST_FTP_ConnInfo :
STRUCT
sHost    : T_IPv4Addr;
nPort    : UDINT;
hFTP     : T_HFTP;
sUsername: STRING;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

sHost

T_IPv4Addr

Specifies the IP address of the FTP server.

nPort

UDINT

Specifies the port for the FTP connection.

hFTP

T_HFTP

Specifies the handle of the FTP connection.

sUsername

STRING

Specifies the name of the logged-in user.

Requirements

Development Environment

Target Platform

PLC Libraries to include

TwinCAT v3.0 Build 3102

PC or CX (x86)

Tc2_FTP