# Download File

> This page is about FlutterFlow Studio (the visual builder), not FlutterFlow (the app builder you use by describing your app).

URL: https://docs.flutterflow.io/concepts/file-handling/download-file

Learn how to add download file action into your FlutterFlow Studio app.

The **Download File** action allows you to enable users to download or save files locally on their devices.

<div style={{
    position: 'relative',
    paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
    height: 0,
    width: '100%'}}>
    <iframe 
        src="https://demo.arcade.software/dhlZ7J8kDFNDypyv5TcO?embed&show_copy_link=true"
        title=""
        style={{
            position: 'absolute',
            top: 0,
            left: 0,
            width: '100%',
            height: '100%',
            colorScheme: 'light'
        }}
        frameborder="0"
        loading="lazy"
        webkitAllowFullScreen
        mozAllowFullScreen
        allowFullScreen
        allow="clipboard-write">
    </iframe>
</div>
<p></p>

:::tip[File Download Location]
- **Windows, macOS, Linux, and Web**: Files are saved in the **Downloads** folder by default.
- **iOS**: Files are downloaded in the **Application Documents Directory**.
- **Android**: Files are saved in the application's directory at `Android/data/your.package.name/files/your_file.extension`.

:::

## Download File [Action]

To add a Download File action, select the **Widget** (e.g., button or any interactive widget) where you want users to initiate the file download and set the **Source** to one of the following.

- **From URL**: Use this option for downloading files that are accessible through a direct link and specify the URL of the file that should be downloaded.
- **From File (Bytes)**: Use this option when the file is uploaded to the device using the [Local Upload (Widget State)](https://docs.flutterflow.io/concepts/file-handling/uploading-files#local-upload-widget-state). You can access the file via ***Widget State > Uploaded Local File***.

Optionally, you can specify a **Filename** to be used when the file is downloaded.

![Action Flow Editor showing a Download File action with Source From URL, a URL, and the filename invoice.](https://docs.flutterflow.io/assets/images/file-download-action-light-d306c80511ca2f3acc9b80cff1be3049.png)
