> ## Documentation Index
> Fetch the complete documentation index at: https://notte-experiment-visibility-md-links.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# download

> Stores a file that has been downloaded from a website in the current session

```python theme={null}
file_storage = notte.FileStorage("<session_id>")
# file.pdf has been downloaded by an agent in the session
# you can download it to your local machine using:
file_storage.download(file_name="file.pdf", local_dir="<local_download_dir>")
```

## Parameters

<ParamField path="file_name" type="str" required />

<ParamField path="local_dir" type="str" required />

<ParamField path="force" type="bool" default="False" />

## Returns

`bool`
