# Delete Folder

Deletes the folders and files located in the folder path of the given ftp server.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWFtpConnectionSettings`](/doc/pawftpconnectionsettings-RcEVGpTNAG) | ✅Yes     | FTP connection details |
| `FtpFolderPath` | `String` | ✅Yes     | Folder path on the FTP server of the folder to delete |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsDeleteFolderSuccessful` | `Booelan` | Deletion success status |
| `DeleteFolderMessage` | `String` | Status message or error detail |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |