/
xcon.CreateFTP

xcon.CreateFTP

Description

This function creates an FTP client socket.

Signature

bool xcon.CreateFTP (string, string, number, string, string)

Parameters

Name Type Mandatory/Optional Description
stringMHandle that identifies the connection within the LUA script.
stringMhost name
numberMport number
stringMuser name
stringMpassword

Return

Type Description
boolinitiation status; true if successful, otherwise NIL.

Related content

LUA3: Read and Write from TCP XCON
LUA3: Read and Write from TCP XCON
Read with this
<connection_handle>_OnErrorEvent
<connection_handle>_OnErrorEvent
Read with this
<connection_handle>_OnConnectEvent
<connection_handle>_OnConnectEvent
Read with this