> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/digital-asset-management-dam/settings/storage/retrieval.md).

# Retrieval

DAM Download setting

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

<figure><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2Fri1Yjx2TO3LOkcPX9K6z%2Fdownload.png?alt=media&amp;token=720ef4f7-7e6f-4a4f-96b3-0803e29875f4" 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 %}
