Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

File → Upload

AI-generated

Summary

Upload a binary file from the input item into a specified sandbox at an absolute path.

Inputs

  • Sandbox ID (required) — ID of the sandbox to upload the file into.
  • Remote Path (required) — Absolute path inside the sandbox where the file should be written. Use a writable path under /home/daytona/ or /tmp/ to avoid permission errors.
  • Input Binary Field (required) — Name of the binary field on the input item containing the file to upload (e.g., "data" from a previous node).

Output shape

a single JSON object

Returns a JSON object confirming success, the sandbox ID, remote path, filename, MIME type, and size in bytes. No binary data is returned.

Examples

Example 1: Upload a local binary file from previous node into a Daytona sandbox

Set Sandbox ID to target sandbox, Remote Path to desired filepath (e.g. /home/daytona/file.txt), and Input Binary Field to the binary property containing the file data (default 'data').

Links

Discussion