# Get Folder Contents to Local Data

Writes the items in the FTP folder to the specified Local Data name.


---

### :arrow_left:**INPUT**

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWFtpConnectionSettings`](/doc/pawftpconnectionsettings-RcEVGpTNAG) | ✅Yes     | FTP connection details |
| `FtpFolderPath` | `String` | ✅Yes     | FTP folder path |
| `LocalDataName` | `String` | ✅Yes     | Name of the Local Data to write to |


---

### :arrow_right:**OUTPUT**

| Parameter | Type | Description |
|-----------|------|-------------|
| `IsGetFolderListToLocalDataSuccessful` | `Boolean` | Listing success status |
| `GetFolderListToLocalDataMessage` | `String` | Status message or error detail |
| `Items`   | `List<StorageItemInfo>` | Combined file/folder list |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error (default: false) |