XenoGuard 4.0 Documentation
Create
ActionStep Reference » Windows » Network » FTP » Directory » Create
The FTP Directory Create ActionStep creates a folder on a File Transfer Protocol (FTP) server
[-] 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 Create 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] |
Directory Path
|
The path name of the directory in the FTP server.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Results:
The ActionStep returns the following results:
name
|
description
|
---|---|
Directory Path
|
The path name of the created directory in an FTP server.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Example 1 (Create a remote folder in an FTP server):
This example creates local variables such as login credentials to an FTP server, Server Address, User, and Password. Once the credentials have been validated, a directory is created in the FTP server and then uploads a file from the local storage. A Message Box then displays the remote path where the file was uploaded.