# Hotfolder

Assuming you use a docker-compose.yml file and your hotfolder will be located at `/srv/fylr/_hotfolder`:

1. Create on your fylr instance the directory and change its permissions. The user permissions must be the same as the one your fylr runs.

```bash
mkdir /srv/fylr/_hotfolder
chown 1000 /srv/fylr/_hotfolder
```

2. Map the folder into the fylr container.

docker-compose.yml:

```yaml
services:
  fylr:
    volumes:
      - "/srv/fylr/_hotfolder:/fylr/_hotfolder"
```

3. Set `webDAVHotfolderPath` in your fylr.yml. Note this path is inside the container.

```yaml
fylr:
  services:
    api:
      webDAVHotfolderPath: "/fylr/_hotfolder"
```

4. Recreate your fylr container.
5. Visit the fylr frontend and activate the hotfolder:

![Image](/files/K1QuuIwOSaBYc06fgGjO)


---

# 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.fylr.io/for-system-administrators/integration/hotfolder.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.
