ftos.files.listFolder

IMPORTANT!  
Starting with v24.3.0, this is renamed from listFilesFromFolder to ftos.files.listFolder.

Returns the file names for all the files stored in a known folder.

This is a business logic method for business service components.

Syntax

Copy
function ftos.files.listFolder(knownFolder: string): string[]
 
Parameter Description
knownFolder Name of the known folder:
  • $RecycleBin
  • Import
  • Processed
  • ProcessedWithError
  • temp

Return Value

Returns an array of strings containing the names of the files stored in the known folder.

Examples