> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runpod.io/llms.txt
> Use this file to discover all available pages before exploring further.

# receive

Receive files or folders sent from another machine using a secure peer-to-peer connection established with a connection code.

<RequestExample>
  ```bash Command theme={"theme":{"light":"github-light","dark":"github-dark"}}
  runpodctl receive <code>
  ```
</RequestExample>

## Example

Receive files using a connection code:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
runpodctl receive rainbow-unicorn-42
```

## Arguments

<ResponseField name="<code>" type="string" required>
  The connection code phrase that matches the code used by the sender with the [`send`](/runpodctl/reference/runpodctl-send) command.
</ResponseField>

## Related commands

* [`runpodctl send`](/runpodctl/reference/runpodctl-send)
