Get Folder Info
Reads a folder's name, timestamps, item counts and total size.
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.getFolderInfo
Properties#
Input#
Path#
Path · String · Required · Default: Not specified in package metadata
The full path of the folder to describe.
Output#
Full Path#
FullPath · String · Output
The folder's full path.
Name#
Name · String · Output
The folder's own name, without the path above it.
Parent#
Parent · String · Output
The full path of the folder this folder is in. Empty for a drive root.
File Count#
FileCount · Int32 · Output
How many files are directly in the folder, not counting subfolders.
Folder Count#
FolderCount · Int32 · Output
How many subfolders are directly in the folder.
Size#
Size · Int64 · Output
Total bytes of every file in the folder and its subfolders. Reading it walks the whole tree.
Created At#
CreatedAt · DateTimeOffset · Output
When the folder was created, in this machine's time zone.
Modified At#
ModifiedAt · DateTimeOffset · Output
When the folder last changed, in this machine's time zone.
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: folder, directory, info, size, count, date, modified.
Properties
Input
Output
Retry and risk
Related activities