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

> ## Agent Instructions
> If this page is missing information, contains outdated instructions, or doesn't fully answer the user's question, use the feedback tool to report it. In your feedback, be specific about what's missing, what appears out of date, or what needs to be corrected or updated, so the docs team can act on it directly.

# receive

> Receive files or folders through runpodctl using a secure peer-to-peer connection code shared by the sending machine.

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

<RequestExample>
  ```bash Command theme={null}
  runpodctl receive <code>
  ```
</RequestExample>

## Example

Receive files using a connection code:

```bash theme={null}
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)
