Connect Activity
The Connect activity establishes a connection to an FTP or SFTP server. This activity allows you to configure connection details such as host, port, and authentication credentials to facilitate secure file transfers and operations.
| Field | Description | Requirement |
|---|---|---|
| Connection name | Reference name of the connection that will be established. | Required |
| Username | FTP username for authentication. | Optional |
| Password | FTP password for authentication. | Optional |
| Private key file | Full path to the private key file for SFTP authentication. | Optional |
| Host | Hostname or IP address of the FTP/SFTP server. | Required |
| Port | The port number for the FTP/SFTP connection. | Required |
| Is secure | Specifies whether the connection should be secure (SFTP) or insecure (FTP). | Optional |
Action Types & Examples
Connection Status
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - Connection name: ftpConnection - Username: robustaserver - Password: Password123 - Private key file: C:UsersDocumentsppFile.ppk - Host: 10.10.10.10 - Port: 22 - Is secure: True
Execution Parameters - (No specific runtime execution parameters are typically configured for this activity beyond initial field setup.)
Technical Notes
If connection is secure then port cannot be 21 and if connection is not secure then port cannot be 22. If connection is secure then connection type will be sftp, else connection type will be ftp.