Skip to content

Ask if existing file should be replaced #431

Closed

Description

@joekerna

Actual behaviour

If I upload a file that already exists in my nextcloud it automatically creates another copy with the name and a (2) appended.

Expected behaviour

I should be asked if I want to replace the existing file or create another copy

Steps to reproduce

  1. Upload file (for example: photo.jpg)
  2. Upload the same file again to the same directory

Environment data

Android version: 6.0

Device model: Huawei P9

Stock or customized system: Stock

Nextcloud app version: 1.4.2

Nextcloud server version: Nextcloud 11.0.2 RC

Activity

  1. tobiasKaminsky commented on Feb 19, 2017

    @tobiasKaminsky
    Member

    This is a good idea, but only for manual upload as the autoupload is done in the background and can annoy users if the get such a dialog.
    For images both thumbnails, local and remote, should be shown.
    @jancborchardt @mario @AndyScherzinger

  2. AndyScherzinger commented on Feb 19, 2017

    @AndyScherzinger
    Member

    agreeing with @tobiasKaminsky only thing we could think about is if some kind of conflict resolving strategy could be chosen by the user per folder-pair as is "always override", "discard and keep server version", etc.

  3. mario commented on Feb 19, 2017

    @mario
    Contributor

    We can do this for auto upload as well - just show it in the Activity screen (which will be done for 1.5)

  4. tobiasKaminsky commented on Feb 20, 2017

    @tobiasKaminsky
    Member

    So for autoupload the conflicting file would be paused until the user resolves the conflict? Then this should be shown as a notification, which then leads to the activity screen. Good idea 👍

  5. joekerna commented on Mar 24, 2017

    @joekerna
    Author

    Can there be some kind of diff? In that case the decision is clear and there is no user-interaction necessary, right?

  6. nickvergessen commented on Mar 18, 2019

    @nickvergessen
    Member

    Bump, see the 2 linked issues above for more details and usecases

  7. caco3 commented on Sep 23, 2019

    @caco3

    Please also consider the usecase as documented in #1239

  8. Belphemur commented on Oct 29, 2019

    @Belphemur

    Any news on this issue ?

  9. Feederhigh5 commented on Apr 11, 2020

    @Feederhigh5

    I think the conflict message has been implemented by now, because I have the problem that my whatsapp back-up files are not automatically uploaded and replaced anymore.
    Instead, the nextcloud android app asks me every time, whether I want to replace it or add it with a modified name.
    As proposed in 2017 by AndyScherzinger, I would love to configure the auto-upload settings for this specific folder to "always override".
    (I thought if you upload something with the same name, nextcloud automatically has a version history, in case you need to restore a specifc version of a file?)

  10. AndyScherzinger commented on Apr 15, 2020

    @AndyScherzinger
    Member

    As proposed in 2017 by AndyScherzinger, I would love to configure the auto-upload settings for this specific folder to "always override".

    There is a PR already: #5810

  11. added
    feature: transfers
    on Oct 10, 2023
  12. added
    hotspot: sync conflicts
    on Nov 16, 2023
  13. joshtrichards commented on Oct 4, 2024

    @joshtrichards
    Member

    This was implemented awhile ago and is the current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedenhancementfeature: transfershotspot: sync conflicts

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions