Upload a file using security copy. Requires authentication. Use for Agentuity cloud platform operations
Upload a file using security copy
agentuity auth loginagentuity cloud scp upload <source> [destination] [options]
| Argument | Type | Required | Description |
|---|---|---|---|
<source> | string | Yes | - |
<destination> | string | No | - |
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--identifier | string | Yes | - | The project or deployment id to use |
Upload to remote home directory:
bunx @agentuity/cli cloud scp upload ./config.json
Upload to specific path:
bunx @agentuity/cli cloud scp upload ./config.json /app/config.json
Upload to specific project:
bunx @agentuity/cli cloud scp upload ./config.json --identifier=proj_abc123xyz
Upload multiple files:
bunx @agentuity/cli cloud scp upload ./logs/*.log ~/logs/
Returns JSON object:
{
"success": "boolean",
"source": "string",
"destination": "string",
"identifier": "string"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether upload succeeded |
source | string | Local source path |
destination | string | Remote destination path |
identifier | string | Project or deployment identifier |