Get File Status
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator
The Get File Status activity verifies that a file exists on the local file system or a network location using a UNC path. You can check that a file is available before copying to another location or before starting any services that depend on the existence of the file. If the file does not exist, you can take corrective action using the Copy File activity to copy the file from another location.
Before you configure the Get File Status activity, you need to determine the file name and path name you are checking.
Use the following information to configure the Get File Status activity.
|File||Type the name and path of the file that you are checking the status of, or click the ellipsis (...) button and browse for it.|
|Include sub-folders||Select this option to copy any files within the sub-folders of the path you have specified that match the filename that you have specified.|
|File age||Select Is less than or Is more than to specify the files that are older or newer, respectively, than the number of days that you specify.|
|days||Type the number of days that you will use with the File age measure.|
The following table lists the published data items.
|Date and time the file was created||The local date and time on which the file was created.|
|UTC date and time the file was created||The UTC date and time on which the file was created.|
|File age days||The number of days that was provided to evaluate the file age.|
|Modified date option||The option that was selected to search for files according to a date range.|
|File exists||Indicates whether the file exists or not.|
|File name extension||The extension, or file type, of the file.|
|File folder||The folder that the file was found in.|
|File name||The name of the file.|
|File owner||The name of the owner of the file.|
|File size (bytes)||The size of the file in bytes.|
|Name and path of the origin file||The file name and path that was provided.|
|Last accessed date and time||The date and time on which the file was created in localized format.|
|Last accessed UTC date and time||The date and time on which the file was created in UTC format.|
|Last modified date and time||The date and time on which the file was created in localized format.|
|Last modified UTC date and time||The date and time on which the file was created in UTC format.|
|Include sub-folders||Indicates whether the Include sub-folders check box was selected.|
|File path||The source file name and path.|
|Encoding type (text files only)||The file encoding format used by the file, if the file is a text file.|