Terminating A Connection - Jetter JC-120MC User Manual

Table of Contents

Advertisement

8 FTP client

Terminating a connection

Introduction
Function declaration
Function parameters
Return value
Related topics
166
Clear all connections which are no longer required as this will reduce PLC
load for managing connections.
Function
FtpDisconnect(FtpConnection:Handle):Int;
Description of the function parameters:
Parameter
FtpConnection
The following return values are possible:
Return value
0
Connection terminated and deleted
-1
Invalid handle
-2, -3
Communication error, there is, for example, no response from
FTP server
Establishing a connection to the FTP server (see page 164)
Value
Handle
Remarks
Value returned by the
function FtpConnect()
Jetter AG

Advertisement

Table of Contents
loading

Table of Contents