Skip to main content

General Information

Connection Type

UI Documentation

Endpoints

List Connections

Get Connection

Create Connection

Update Connection

Delete Connection


List Connections

Endpoint

Request

Headers

Path Parameters

Note: The type query parameter is required to filter connections by type.

cURL Example


Get Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)

Note: Password is masked in get operations.

cURL Example


Create Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example - FTP
Full JSON Body Example - SFTP
Full JSON Body Example - FTPS (Implicit)
Full JSON Body Example - FTPS (Explicit)
Request Body Fields
Common Fields
FTP-Specific Fields

EnumFtpProtocol

  • FTP - Standard FTP protocol (port 21)
  • SFTP - SSH File Transfer Protocol (port 22)
  • FTPS - FTP over SSL/TLS (port 21 for explicit, 990 for implicit)

Note

  • host, username, and password are required.
  • protocol is required.
  • For FTPS, either useImplicit: true or useExplicit: true must be set.
  • useImplicit and useExplicit are mutually exclusive.
  • Default ports: 21 (FTP/FTPS explicit), 22 (SFTP), 990 (FTPS implicit).

Response

Success Response (200 OK)

cURL Example


Update Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example
Note: Request body structure is the same as Create Connection. All fields should be provided for update.

Response

Success Response (200 OK)


Delete Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)


Notes and Warnings

  • FTP Protocols:
    • FTP - Standard FTP (not encrypted, not recommended for production)
    • SFTP - SSH File Transfer Protocol (encrypted, recommended)
    • FTPS - FTP over SSL/TLS (encrypted, recommended)
  • Ports:
    • FTP: 21 (default)
    • SFTP: 22 (default)
    • FTPS explicit: 21 (default)
    • FTPS implicit: 990 (default)
  • SSL/TLS:
    • useImplicit: true - SSL/TLS connection from start (port 990)
    • useExplicit: true - SSL/TLS connection after AUTH command (port 21)
    • useImplicit and useExplicit are mutually exclusive
    • sslProtocol specifies protocol version (TLS, SSL, TLSv1.2, etc.)
  • Working Directory:
    • workingDir specifies the default directory for file operations
    • Defaults to ”/” (root directory)
    • Can be absolute or relative path
  • Timeout and Retry:
    • timeout - Connection timeout in milliseconds
    • retryCount - Number of retry attempts on failure
    • Recommended timeout: 30000ms (30 seconds)
  • Security:
    • Use SFTP or FTPS in production (not plain FTP)
    • Use strong passwords
    • Consider using key-based authentication for SFTP
  • Performance:
    • Timeout settings affect connection behavior
    • Retry count helps with transient failures
  • Deployment: Connection changes require deployment to take effect. Set deployToWorker: true or deploy manually.