Genpact Cora Knowledge Center

Support

List Files Activity Overview

V10.8

Overview

The List File activity extracts the list and details of all files from a storage.
Following is the extracted information: 

  • File name
  • File size (bytes)
  • Full path
  • Exists
  • Date created
  • Date last modified

Following are the supported storage systems from which you can extract the file information:

  • Amazon Simple Storage Service (AWS S3)
  • Azure Blob Storage
  • Azure File Storage
  • FTP
  • SFTP
  • Network Drive

To extract file information from an external storage, you need to connect to the external storage.
For details on adding a new connection to an external storage system, see this article.

List File activity parameters

Parameter Description Interface
Connection to File Storage Connection you defined to the external storage system. Click image to enlarge it.
Source Path Path to the folder where the file is. It is appended to the connection you defined to the external storage system. You must use backward slashes (\) when you define the file name.
Example: Host\BasePath\SourcePath\FileName
File Pattern The file search pattern. Leave empty to extract list of all the files in storage.
If the file does not exist If the file does not exist, select how the activity proceeds.
  • Fail activity execution: the activity fails.
  • Continue activity execution: the activity continues, without importing a file.
File List Maximum Size Maximum number of records to be displayed.
Order Files By The parameter based on which the list is sorted.
Select the order as Ascending or Descending.