file_transfer
Upload, download, or list files on an OpenClaw server over SSH. Handles text and binary files up to 10MB; omitting local_path on download returns content directly.
Instructions
Upload, download, or list files on the OpenClaw server via SSH. Supports text and binary files up to 10MB. "download" without local_path returns file content directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "upload": local -> server, "download": server -> local, "list": list files in a server directory. | |
| local_path | No | Path on the local machine. Required for upload (source) and download (destination). For download, if omitted, file content is returned in the response instead of saved to disk. | |
| remote_path | Yes | Path on the OpenClaw server (e.g. "~/scripts/backup.sh" or "~/.openclaw/workspace/trading/"). |