FTPDisconnect

FTP function.

The FTPDisconnect function terminates the connection to a FTP server.

Syntax

FTPDisconnect()
or
ret=FTPDisconnect()

Return value

Ret, numeric return code. If the FTP connection has been successfully ended, the function returns 0, otherwise use this return code for error management.

Example

 

FTPDisconnect()