FTPMakeDirectory Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “FTP” group, “FTP Make Directory.” The method attempts to create a directory on the FTP server.

 

Declaration

function FTPMakeDirectory (varDirectory As Variant) As Integer

 

Parameters

varDirectory

 The full path of the directory on the FTP server to be created.

 

Description

The FTPMakeDirectory method attempts to create a directory on the FTP server specified by varDirectory.

 

A connection to the FTP server must have been previously established by a successful called to FTPLogin.

 

 

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.