# Define File Resources

Two File Resources called **filerouting-ext** and **filerouting-link** must be configured as detailed below.

<figure><img src="/files/XrPZ35uk5XVHWqqeRfZ6" alt="" width="563"><figcaption></figcaption></figure>

### filerouting-ext File Resource

1. Go to **Setup** → **File Resources** and click the **NEW** button.
2. Select the **Actor** that will be used for the file routing.
3. In the **Name** field, enter **filerouting-ext**. Enter a **Description** for the File Resource.
4. Leave **Reject File** to NO.

<figure><img src="/files/6cFoGTDgFoM9LzMpL0Np" alt="" width="563"><figcaption></figcaption></figure>

5. In the **Local Settings** tab, enter **EXTERNAL** in the **Location** field.
6. Set **Delete file after expiration** to **true**.
7. Click **Save** to confirm the file routing-ext File Resource.

<figure><img src="/files/GFwvJ1QicrALcwiNhxRG" alt="" width="528"><figcaption></figcaption></figure>

### filerouting-link File Resource

1. Go to **Setup** → **File Resources** and click the **NEW** button.
2. Select the **Actor** that will be used for the file routing.
3. In the **Name** field, enter **filerouting-link**.
4. Enter a **Description** for the File Resource.
5. Leave **Reject File** to NO.

<figure><img src="/files/qQ9wp11xFOXUGQnhN2Fi" alt="" width="563"><figcaption></figcaption></figure>

6. In the **Local Settings** tab, enter **LINK** in the **Location** field.
7. Set **Delete file after expiration** to **true**.
8. Click **Save** to confirm the filerouting-link File Resource.

<figure><img src="/files/uVuv8JaFdfbzUslFekJC" alt="" width="542"><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.primeur.com/data-mover-1.21/file-routing/configure-the-environment-in-data-mover/define-file-resources.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.
