Get a List of Files/Folders#

Get a list of full paths of nested files and folders from the specified folder.

Folder Path[Text] The path to the folder whose contents need to be retrieved.
Recursion

If the checkbox is not checked, only files and folders directly within the specified folder will be included in the final list of items.

If the checkbox is checked, the final list of items will also include the contents of nested folders. The final list will continue to be populated until all contents of all nested folders have been listed.

Item TypeDepending on the selected value, the final list will be populated with files or folders.
File Filter

[Text] File filter. For example, all pdf files - "*.pdf".

To specify multiple filters, use a semicolon as a separator, for example: "*.xls;*.xlsx".

Sort TypeSelect the sorting method.
Reverse ListWhen enabled, reverses the list in the opposite order.
Include Full PathWhen enabled, the resulting items will contain the full path. Otherwise, only the name.
Items[List] Returns a list of child items: nested folders and files for the specified folder.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by 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" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

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.