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

# autogen.retrieve_utils.get_file_from_url

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### get\_file\_from\_url

```python theme={null}
get_file_from_url(url: str, save_path: str = None) -> tuple[str, str]
```

Download a file from a URL.

<b>Parameters:</b>

| Name        | Description                                |
| ----------- | ------------------------------------------ |
| `url`       | **Type:** str                              |
| `save_path` | **Type:** str<br /><br />**Default:** None |

<br />
