# Retrieval

The Download setting can be managed under the *Setting / Library / Storage/* Retrieval *menu.*

<figure><img src="/files/s3P9cQJXyNMXEwXzq0xZ" alt=""><figcaption></figcaption></figure>

## **Download consent**

When enabled, Asset Hub users will be required to accept the custom Consent notice before downloading an asset.

### Set Consent Notice

In the "Consent notice" box, enter the text which the users must agree to. HTML tags are supported.

\
`Example: I consent to the usage rights of this asset available <a target="_blank" href="https://legal.scaleflex.com">here</a>.`

## Download Usage Right file

Provide the agreement text users should agree to when downloading an asset.

Applied when Download consent is enabled.

### Usage Right agreement File Template.

* Enter the template text for the usage right file in the "Usage right file template" text box.
* **Filename:** Use `{{file.name}}` to embed the name of the file.
* **Metadata Fields:** Use `{{meta.field}}` to embed any metadata field. Replace `field` with the actual name of the metadata field.

## CDN URLs format

This setting controls the structure of CDN links. Two formats are available:

* **Path-based links ("Path-links")** –\
  Example: `https://token.filerobot.com/folder1/folder2/file.jpg`
* **UUID-based links ("Permalinks")** –\
  Example: `https://token.filerobot.com/1fzjEhp3r4yhvjL2wXZdCuAk5/file.jpg`

**Path-links** are the standard way to publish a resource over the CDN.\
**Permalinks** ensure that assets remain accessible even if they are moved within the library.

When you change this setting, it affects the default CDN link format used throughout the platform.

{% hint style="info" %}
Use **Path-links** when multiple versions of the same file are created, and it’s important that the CDN link always points to the **latest version**.

Use **Permalinks** when files are frequently moved between folders, and you want to ensure that the CDN link remains **unchanged**, regardless of the file’s location.
{% endhint %}


---

# 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.scaleflex.com/digital-asset-management-dam/settings/storage/retrieval.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.
