FTP.FILELIST

Generates a table Data Source with a list of all the files in a path on a FTP server. (Introduced from Perfion 2023-R1)

Properties

From

The Path to search for files

To

Name of the Output Data Source.

Parameters

@FTP

The FTP connection. The syntax for the FTP connection:

FtpHost=<server name or ip>;FtpPort=<portnumber>;username=<username on server>; password=<password in plaintext>

FtpHost is mandatory and to specify FTP protocol use ftp, sftp or ftps as scheme like ftps://test.com. A FtpHost without a scheme is defaulted to ftp://

Lookup from a named Connection defined in Perfion Go to Administration -> Remote Queries and open a query to see available Remote Connection names:
@REMOTECONNECTIONNAME=FtpServer

@FILTER

Filter the result of the selected data. See Action Commands for more information. (Introduced from Perfion 2023-R1 SR1)

@ORDER

Order the result of the selected data. See Action Commands for more information. (Introduced from Perfion 2023-R1 SR1)

Example

Shows how to search the path “/public_html/folder/”, and return the result in a Data Source named “FileListTable”.

The returned list would contain information similar to the following.