Genpact Cora Knowledge Center

Support

Get File Info Activity Overview

V10.6

Overview

The Get File Info Activity extracts information of a specific file from the storage.
Following is the extracted information: 

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

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.

Define File Import

Get File Info Activity parameters

ParameterDescription
Connection to File StorageConnection you defined to the external storage system.
Source PathPath 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 NameThe name of the file that you want to extract information for.
If the file does not existIf 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.