# Feature OP-11984 - Resolve conflict with files with the same name when upload

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 12.5.0 |
| Sprint | 12.5.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

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

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user  
**I want to** decide what I want to do when I upload a file that already exist in a location  
**so that** I can choose if I want to replace the current file, keep both or cancel the upload

**Acceptance criteria**

*   This action is triggered after the flow of uploading a file just after the user selects the location where they want to upload the file.
*   This is only triggered for files that have the exact name and file type.
*   A modal following the design system modal specs will appear after the flow with this information:
    *   **Header:** This file already exists
    *   **Description:** A file with the name “**\[Filename.format\]**” already exist in the location where you are trying to upload this file. What would you like to do?
    *   **Action bar:** Action bar with three buttons:
        *   &quot;Cancel&quot;: This will cancel the complete upload.
        *   &quot;Keep both&quot;: Will keep both files and add a number after the file name &quot;\[FilenameX.format\]&quot;. Each copy adds a X+1.
        *   &quot;Replace&quot;: Is the main button of the bar and will replace the old file with the new one.

**Visuals**

**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51351/content">**
