get_file
Copy a remote file from a Labgrid place to your local machine using scp. Overwrites only when specified, and returns the resulting file size.
Instructions
Copy remote_path from an acquired place to local_path (scp).
An existing local target is refused unless ``overwrite=True`` (pinned
ToolError); the parent directory must already exist. Returns
``{"place", "got": local_path, "bytes": <resulting size>}``. NOT
read-only (it writes a local file), but non-destructive to the DUT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | ||
| overwrite | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||