# Enumerate Objects

> `UiPath.FTP.Activities.EnumerateObjects`

`UiPath.FTP.Activities.EnumerateObjects`

## Description

Generates a DataTable variable that contains a list comprising the files found at the specified FTP server path. Subfolders can also be included in the search by checking the **Includes subfolders** box. This activity only works if it is placed inside a [With FTP Session](https://docs.uipath.com/activities/other/latest/workflow/with-ftp-session) scope activity.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Windows - Legacy configuration

**Designer panel**
* **Remote path** - The path of the directory on the FTP server whose files are to be enumerated. This field supports only `String` variables.

**Properties panel**

#### Common

* **DisplayName** - The display name of the activity. This field supports only `String` variables.

#### Input

* **Remote Path** - The path of the directory on the FTP server whose files are to be enumerated. This field supports only `String` variables.

#### Misc

* **Continue on error** - This field only supports boolean values (**True**, **False**). The default value is **False**. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to **True**, the execution of the project continues regardless of any error.
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

#### Options

* **Include subfolders** - If this check box is selected, the subfolders are also included in the enumeration of the files on the FTP server.

#### Output

* **Files** - A collection of files that have been found on the FTP server.

## Windows, Cross-platform configuration

**Designer panel**
* **Remote Path** - The path of the directory on the FTP server whose files are to be enumerated. This field supports only `String` variables.

**Properties panel**

#### Others

* **Include subfolders** - If set to **On**, the subfolders are also included in the enumeration of the files on the FTP server. The default values is **Off**.

#### Output

* **Files** - A collection of files that have been found on the FTP server.
