Get File Info
Reads a file's name, size, timestamps and read-only flag.
Behaviour
Risk: None · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash
Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.getFileInfo
Properties#
Input#
Path#
Path · String · Required · Default: Not specified in package metadata
The full path of the file to describe.
Output#
Full Path#
FullPath · String · Output
The file's full path.
Name#
Name · String · Output
The file name with its extension, for example invoice.pdf.
Extension#
Extension · String · Output
The extension including the dot, for example .pdf. Empty when the file has none.
Folder#
Folder · String · Output
The full path of the folder the file is in.
Size#
Size · Int64 · Output
The file's size in bytes.
Created At#
CreatedAt · DateTimeOffset · Output
When the file was created, in this machine's time zone.
Modified At#
ModifiedAt · DateTimeOffset · Output
When the file was last written to, in this machine's time zone.
Is Read Only#
IsReadOnly · Boolean · Output
True when the file carries the read-only attribute.
Retry and risk#
This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.
Every activity also has the engine's common properties: Timeout and Continue On Error.
Related activities#
- Append Line
- Compress/Zip Files
- Copy File
- Copy Folder
- Create File
- Create Folder
- Delete File
- Delete Folder
Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: File System. Keywords: file, info, size, date, modified, attributes.
Properties
Input
Output
Retry and risk
Related activities