file_transfer
Transfer files between local machine and OpenClaw server via SSH. Upload, download, or list files up to 10MB. Download returns file content if no local path provided.
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/"). |