XenoGuard 4.0 Documentation
Delete
ActionStep Reference » Windows » Network » FTP » Directory » Delete
The ActionStep FTP Directory Delete removes a specified directory and its contents using the File Transfer Protocol (FTP).
[-] Hide
- Open the Windows node in the Workspace Explorer.
- Open the Network node.
- In the FTP node, select the File node.
- In the Directory node, select the Delete ActionStep.
Parameters:
The ActionStep 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] |
Path
|
The path name of the directory to be deleted.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Results:
The ActionStep returns the following results:
name
|
description
|
---|---|
Path
|
The path name of the deleted directory.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Example 1 (Remove an empty remote directory):
This example takes out a directory from an FTP server after the user account accessing the server has been verified. The user then confirms that the directory is empty and proceeds with the deletion of the directory. A Message Box then confirms that the directory has been deleted.