Get Folder List#

Get a list of nested files and folders from a folder located on an FTP/SFTP server.

URL

[Text] Full path of the FTP directory. Must start with the protocol, for example: "ftp://server.url/folder".

For SFTP, specify the "sftp" protocol.

Username[Text] Username for authentication on the FTP server.
Password[Text/SecureString] Password for authentication on the FTP server.
Private Key File[Text] Private key file for SFTP authentication. If necessary, specify the password in the "Password" property.
Filter[Text] Text used for filtering names. Wildcards can be used. To use Regex, prefix the string with "regex:". For example, "regex:/d".
Item Type

Select the type of items. Possible values:

  • "All" - all items;
  • "Directory" - only directories;
  • "File" - only files.
Result[List] List of retrieved names.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.