paserver_scratch_dir
Retrieve PAServer's per-profile scratch directory path to enable secure file transfers or cleanup on a remote host.
Instructions
Return PAServer's per-profile scratch directory path on the remote host.
PAServer in restricted mode (the default) only allows file ops inside /Users//PAServer/scratch-dir/-/. Use this helper to get the right path before calling paserver_put / paserver_get, or to clean up after a build.
Args: profile: Connection Profile name (e.g. "MACBOOK"). remote_user: Unix username running paserver on the Mac/Linux host. You can find this by SSHing to the host once, or check the PAServer terminal output for the home dir.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| remote_user | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |