File system Send

File system Send

Certified

Send data to a TCP server

Opens a TCP socket, sends the payload, and closes the connection. Default encoding UTF-8; set encoding to BASE64 for binary. Connection timeout defaults to 10s.

yaml
type: io.kestra.plugin.fs.tcp.Send

Send a UTF-8 message to a TCP server.

yaml
id: tcp_send_example
namespace: dev

tasks:
  - id: send_tcp
    type: io.kestra.plugin.fs.tcp.Send
    host: 127.0.0.1
    port: 9090
    payload: "Hello from Kestra"
Properties

Target host or IP

Payload to send

Target port

DefaultUTF-8

Payload encoding

Use BASE64 for binary data; otherwise UTF-8.

Reference (ref) of the pluginDefaults to apply to this task.

Socket timeout

Timeout for establishing the connection and IO; default 10s.

The target host

The target port

Number of bytes sent