# Download File

The **Download File** component fetches a file from a URL and makes it available for subsequent steps in your flow. Use it when you need to retrieve remote files — such as CSVs, PDFs, or attachments — for parsing, transformation, or forwarding to another service like email or cloud storage.

```
SourceUrl = "https://files.server.com/report.csv"
DestinationName = monthlyReport
ContentType = text/csv
```

<figure><img src="https://docs.fastn.ai/~gitbook/image?url=https%3A%2F%2F1255842839-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F3iSr2Tx8FvvuoLPncziH%252Fuploads%252FjIPqarF3Y0vn2sKhALRV%252Fimage.png%3Falt%3Dmedia%26token%3D464a0364-0057-4a3c-84d2-f1633e3629fc&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5e10752f&#x26;sv=2" alt="Download File component configured with source URL, destination name, and content type"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fastn.ai/flow-setup-essentials/designing-a-flow/download-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
