Skip to main content

File Info

The File Info activity retrieves metadata information about a file on the local file system.

Configuring the File Info Activity

To configure the File Info activity, fill in the required fields in the activity panel.

Configuration

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
ResourceOptionalDrag and drop one of the following resources: S3Connection, ABSConnection, SFTPConnection.
Select Source ContextOptionalSelect the select source context for this activity.
DirectoryOptionalDirectory value. Supports global variables and mapping expressions.my-data-bucket
File PathOptionalFile Path value. Supports global variables and mapping expressions.data/reports/2024/
File NameOptionalFile Name value. Supports global variables and mapping expressions.report-2024.csv

Input

FieldRequiredData TypeDescriptionExample
File PathOptionalStringFull file path where the content should be written, including the directory and file name.data/reports/2024/
File NameOptionalStringOptional file name to use if not included in filePath.report-2024.csv

Output

FieldRequiredData TypeDescriptionExample
ExistsOptionalBooleanfalse
File PathOptionalStringdata/reports/2024/
File NameOptionalStringreport-2024.csv
Created AtOptionalString
Modified AtOptionalString
File SizeOptionalNumber0
Is DirectoryOptionalBooleanfalse