XenoGuard Documentation

Permission

Actions » Windows » Network » FTP » File » Permission 

The action Permission grants privileges by modifying the permission settings of either the owner, group or public user.  


[-] 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 File node, select the Permission 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 for accessing the file permission.

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

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
File Path Name
The path name of the file where details will be retrieved.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Permissions
The permission settings to read, write or execute the file to an owner, group or public.

Parameters for the "Permissions" sub-branch:

  • Owner Permission - Read (R)
  • Owner Permission - Write (W)
  • Owner Permission - Execute (E)
  • Group Permission - Read (R) 
  • Group Permission - Write (W)
  • Group Permission - Execute (E)
  • Public Permission - Read (R)
  • Public Permission - Write (W)
  • Public Permission - Execute (E)
Allowed Context Scopes [Fixed, Local, Global]
Allowed Data Type [Boolean]

Information The permission pattern "RWE RWE RWE" grants all user types all privileges to the file.

Results:

The action returns the following results:


name
description
Permissions
The file permissions granted to the owner, group, or public.

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

Example 1 (Set remote file to read-only access):

This example sends a file from a local folder to the specified directory in the remote FTP server. The uploaded file is then set as a read-only file when accessed by all user types (Owner, Group, Public). The granted permission to the remote file is then displayed via Message Box.

See other FTP File operations:

Download
Upload
Move
Delete
Rename
Get Information