XenoGuard Documentation

Move

Actions » Windows » Network » FTP » Directory » Move 

The action Move transfers the content from a source directory to a target directory via a File Transfer Protocol (FTP).


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Network node.
  3. In the FTP node, select the File node.
  4. In the Directory node, select the Move action.

Parameters:

The action has the following input parameters:


name Description
Server Address
The host name or IP address of the FTP server.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
User
The name of the user in the FTP server.

Allowed Context Scopes
[Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Password
The password of the user in the FTP server.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Protocol Type
The type of protocol to use to access the FTP server.

Accepted Protocols: File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Directory
The path of the source folder that contains the files to be moved.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Target Directory
The destination folder where the files will be transferred.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Results:

The action returns the following results:


name
description
Target Directory
The path name of the directory where the files were moved.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]
Warning The target directory replaces the existing directory in the remote device.

Example 1 (Transfer contents from a remote directory):

This example creates two local variables named Source Path and Target Path with Text as data type. The remote device is accessed, and the source folder's contents are moved to another destination folder. If transfer is successful, the result is then displayed in Message Box of the "Then" branch, otherwise the ActionStep in the "Else" branch is executed.


See other FTP Directory operations:

Create
List Content
Delete