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.

Details Tab

SettingsConfiguration Instructions
FileType 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-foldersSelect 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 ageSelect 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.
daysType the number of days that you will use with the File age measure.

Published Data

The following table lists the published data items.

ItemDescription
Date and time the file was createdThe local date and time on which the file was created.
UTC date and time the file was createdThe UTC date and time on which the file was created.
File age daysThe number of days that was provided to evaluate the file age.
Modified date optionThe option that was selected to search for files according to a date range.
File existsIndicates whether the file exists or not.
File name extensionThe extension, or file type, of the file.
File folderThe folder that the file was found in.
File nameThe name of the file.
File ownerThe name of the owner of the file.
File size (bytes)The size of the file in bytes.
Name and path of the origin fileThe file name and path that was provided.
Last accessed date and timeThe date and time on which the file was created in localized format.
Last accessed UTC date and timeThe date and time on which the file was created in UTC format.
Last modified date and timeThe date and time on which the file was created in localized format.
Last modified UTC date and timeThe date and time on which the file was created in UTC format.
Include sub-foldersIndicates whether the Include sub-folders check box was selected.
File pathThe 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.
Show: