
File system Send
CertifiedSend data to a TCP server
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.SendExamples
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
host *Requiredstring
Target host or IP
payload *Requiredstring
Payload to send
port *Requiredintegerstring
Target port
encoding string
Default
UTF-8Payload encoding
Use BASE64 for binary data; otherwise UTF-8.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeout string
Socket timeout
Timeout for establishing the connection and IO; default 10s.
Outputs
host string
The target host
port integer
The target port
sentBytes integer
Number of bytes sent