XenoGuard Documentation

Get Information

Actions » Windows » Network » FTP » File » Get Information 

The action Get Information retrieves the details of the file via 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 File node, select the Get Information 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 files via FTP.

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 retreived.

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

Results:

The action returns the following results:


name
description
File Size [KB]
The size of the retrieved file in kilobytes.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]
Last Modified
The date and time of the file's last modification.

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

Example 1 (Display information of multiple remote files):

This example lists the contents of a remote directory from an FTP server. Each retrieved file from the list is iterated and displays the filename and the date it was last modified. The result is then output via Message Box.


See other FTP File operations:

Download
Upload
Move
Delete
Rename
Permission