zas_receive_direct
Receive a file the owner sends through Directo directly to this machine: waits for the offer, writes it to disk, and returns the saved path without overwriting existing files.
Instructions
Receive a file the owner sends through Directo, straight onto this machine. Call it when the owner says they are sending you something: it waits for the offer, takes it, and writes the file to disk. Nothing is stored anywhere. Only for a channel in Directo mode, and only with a grant that includes reading. The call waits a minute and then returns a job id to check with zas_jobs; the wait for an offer alone can take ten minutes. Returns the path written; it never overwrites an existing file. The owner sees every item this agent sends with the >_ agent mark and this agent's name, on every device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | No | Where to write the file. A directory means "inside it". Defaults to a fresh temporary directory. | |
| channel | No | Channel name or id. Optional when the agent holds exactly one channel. |