FTPLogout Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “FTP” group, “FTP Logout.” The method disconnects a connection to an FTP server previously established using the FTPLogin method.

 

Declaration

function FTPLogout () As Integer

 

Parameters

None

 

Description

The FTPLogout method attempts to disconnect from an FTP server previously connected to using the FTPLogin method.

 

Use this command when you are finished with a previously established FTP connection to cleanly disconnect from the server.

 

 

NOTE: The Action2 FTP methods (with the exception of FTPQuickSend and FTPQuickRetrieve) may not function properly in the AutoMate™ BASIC IDE. To more accurately use these functions, run the script from within an AutoMate™ task using the “Run a BASIC Script” action.