# Bug OP-12260 - Direct download of a storage file fails

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-12260

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 12.5.2 |
| Observed in versions | 12.5.0 |
| Sprint | 12.5.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.5.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  have a OP instance connected to a NC instance which is running on a subpath (like [`https://nextcloud-sub.local/html`)](https://nextcloud-sub.local/html))
2.  Go to the work package details page
3.  add a file link
4.  download the file from the floating actions menu

### What is the buggy behavior?

*   The download results in a 404 error

### What is the expected behavior?

1.  the download should be triggered

### Environment information

**OpenProject installation type**

*   [ ] Hosted cloud edition
*   [ ] Packaged installation
    *   What distribution?
*   [ ] Docker All-in-one container
*   [x] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

unreleased/dev

**Browser**

*   [ ] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [x] Other (please specify) -&gt; Brave

**Language**

en-US
