# Set Connection Settings

Creates and validates the FTP connection settings. Produces the `PAWFtpConnectionSettings` object to be used in all other FTP activities.


---

### ⬅️INPUT

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Host`    | `String` | ✅Yes     | FTP server address (hostname or IP) |
| `Port`    | `Int32` | ✅Yes     | FTP server port number |
| `Username` | `String` | ✅Yes     | FTP username |
| `Password` | `SecureString` | ✅Yes     | FTP password (secure) |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `SetPAWFtpConnectionSettingsResult` | [`PAWFtpConnectionSettings`](/doc/pawftpconnectionsettings-RcEVGpTNAG) | Created connection settings object |
| `IsSetPAWFtpConnectionSettingsSuccessful` | `Boolean` | Operation success status |
| `SetPAWFtpConnectionSettingsMessage` | `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**". |