---
schema_version: "1"
id: 2c9d045750dec380e4d5363a20ae70adda01490536896c375d13c47d786df8d9
title: Get File Info
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/toolbox-file-operations-get-file-info.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/toolbox-file-operations-get-file-info
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 71a33ac884a0a5f242337fb126aec59e46449035a9e7bb261559d65d08f2366e
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# Get File Info

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

_Get File Info_ fetches information about a file at the specified path. You can retrieve the
following information: date created, date modified, owner, and when the file was last accessed. The
information fetched is saved in the appropriate variables for further processing. Dates are returned
in UTC (coordinated universal time) format as follows (yyyyMM-ddTHH:mm:ssZ).

## Properties

**File Operation Settings**

- **Directory path** Enter the path to the directory where the file is saved. You can specify an
  absolute or relative path. If a relative path is used, then the path relates to the _Base Path_
  variable.

- **File Name** Enter the name of the file here that require information about.

Placeholders are not permitted. For further information please refer to the section on **Invalid
characters**.

Other Properties that are the same in all action steps are described in the section on **Common
Properties**. For reasons of clarity they are not shown here.

## Inbound Variables

**Directory path** Enter the path to the directory where the file is saved. You can specify an
absolute or relative path. If a relative path is used, then the path relates to the _Base Path_
variable.

**File Name** Enter the name of the file here that require information about.

## Outbound Variables

**File Size** The _Get_ _File Info.File Size_ variable provides the size of the file.

**Creation Date** The _Get_ _File Info.Creation Date_ variable provides the date the file was
created (format: yyyyMM-ddTHH:mm:ssZ).

**Modification Date** The _Get_ _File Info.Modification Date_ variable provides the date of the last
change to the file (format: yyyyMM-ddTHH:mm:ssZ).

**Last Access Date** The _Get_ _File Info.Last Access Date_ variable provides the last access date
(format: yyyyMM-ddTHH:mm:ssZ).

**File Owner** The _Get_ _File Info.File Owner_ variable provides the name of the owner of the file.

**File Name** The _Get_ _File Info.File Name_ variable provides the name of the file.

**Directory path** The _Get_ _File Info.Directory Path_ variable provides the path that is used.

## Wizard

- **Directory path** Specify the path to the file that you require information about. You can create
  an absolute path or a path relative to the _Base Path_. The initial value is %STWS\_BASEPATH%.
  Select an existing path. You can also insert variables from the _Workflow_ in order to construct
  the path. To do so, click on the pin and select one of the available variables.

- **File name** Enter the name here of the file that you require information about. You can also
  insert a variable from the Workflow as the _File Name_. To do so, click on the pin and select one
  of the available variables.
