Skip to content

Synchronize should also upload locally created files #8078

Closed

Description

@radry

Steps to reproduce

  1. Tab ... menu next to a remote folder and select "Synchronize"
  2. Wait for the download to finish
  3. Locally on the Android device change a file or create a new file/folder in the directory that was just "synchronized"
  4. Repeat step 1

Expected behaviour

  • As the name "Synchronize" suggests, the locally changed or newly added file should be uploaded to the remote folder.

Actual behaviour

  • Nothing get's uploaded

Conclusion

  • The feature "synchronize" does in fact not synchronize anything but only downloads the remote folder to make it available offline. It should be labeled "Make available offline"

Environment data

Android version: 11

Device model: Galaxy tab S7

Stock or customized system: Stock

Nextcloud app version: 3.15.0

Nextcloud server version: 20

Activity

  1. added
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Mar 1, 2021
  2. tobiasKaminsky commented on Mar 1, 2021

    @tobiasKaminsky
    Member

    It also synchronizes content if the file is changed locally, but you are right that it does not upload newly added files.

  3. added and removed
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Mar 1, 2021
  4. changed the title [-]Synchronize is mislabeled[/-] [+]Synchronize should also upload locally created files[/+] on Mar 1, 2021
  5. radry commented on Mar 1, 2021

    @radry
    Author

    @tobiasKaminsky I intentionally named the issue that way because in the current state it is mislabeled and thus a BUG. This isn't a feature request for 2-way sync, we have other issues for that

  6. tobiasKaminsky commented on Mar 2, 2021

    @tobiasKaminsky
    Member

    True, in short term we can rename it, so it is more clear.
    Do you have an idea?
    "Synchronize existing files" maybe?

  7. radry commented on Mar 2, 2021

    @radry
    Author

    I'm getting mixed information from you here you claim that downloaded files (which I think applies to "syncronize" too?) Do indeed synchronize.

    Can you or someone else please elaborate what exactly "downloading" a remote file or using the "synchronze" function does?
    As I explained in the issue, it seems to me that it only downloads remote files but doesn't consider changes to downloaded files, nor detects new files. This is really confusing.

  8. tobiasKaminsky commented on Mar 5, 2021

    @tobiasKaminsky
    Member

    Sync on a folder does:

    • download all files from server
    • updates all files from server
    • uploads any change of existing files on server
    • does not upload new files
  9. farynaio commented on May 10, 2021

    @farynaio

    I agree with @radry, this is confusing that sync doesn't upload new files in synced folders. As all the files are synced this feature should be named "make available offline" or similar.

    I also noticed while in airplane mode, synced files are read only, which literally kills the purpose of offline files.

    Other than that, NextCloud is really impressive product.

  10. weiss-d commented on Aug 1, 2021

    @weiss-d

    Was unhappily surprised when I realized, that Sync doesn't upload locally created files 😟
    I'll highly appreciate if you add this feature because syncing files across different devices is one of the main points of using NC for me.

  11. joshgiesbrecht commented on Dec 1, 2022

    @joshgiesbrecht

    This feature, please!

  12. squid-f commented on Dec 12, 2022

    @squid-f

    Hi. iOS has been having it for a while. Is it really different (code wise) to activate it for Android as well?

  13. 7 remaining items

  14. karussell commented on Mar 16, 2023

    @karussell

    What worked for me was to add a new folder under "Settings" -> "Auto upload". Now new files in this folder will appear automatically on the server. Really strange that this is so hidden.

  15. added
    feature: transfers[WIP] Any uploading / downloading matters that aren't auto upload or sync specific
    on Oct 12, 2023
  16. belst commented on Nov 29, 2023

    @belst

    I also need this, often times I need to modify/create some pdfs (taking notes during lectures for example) on my tablet and synchronize them as soon as a connection is available (it not always is)

  17. Fmstrat commented on Dec 5, 2023

    @Fmstrat

    The core feature of Nextcloud, with an issue open for 2.5 years?

  18. Fmstrat commented on Dec 5, 2023

    @Fmstrat

    What worked for me was to add a new folder under "Settings" -> "Auto upload". Now new files in this folder will appear automatically on the server. Really strange that this is so hidden.

    This doesn't fully work. You can do this and set up folder sync for the folder, so you get downloads and uploads, but if you rename a file, now the server has 2 copies.

  19. Solar-Simon commented on Feb 8, 2024

    @Solar-Simon

    Waiting for this since years, and really expected this to be a core feature of a cloud app.

    My workaround is to use FolderSync
    Unfortunately i don't find an app in F-Droid for that purpose.

  20. erentar commented on Feb 17, 2024

    @erentar

    Waiting for this since years, and really expected this to be a core feature of a cloud app.
    First suggested in November 2017 https://help.nextcloud.com/t/nextcloud-android-app-automatically-sync-files-folders/23123
    I also am using obsidian with nextcloud and this makes it impossible

  21. tsjordan-eng commented on Feb 24, 2024

    @tsjordan-eng

    I'll just pile on this and say I figured out this didn't work the same way @erentar did: through Obsidian. I used @Solar-Simon's solution of FolderSync

  22. sunjam commented on Feb 24, 2024

    @sunjam

    Isn't this issue a duplicate of

  23. added
    needs reviewPotentially out of date or duplicate and/or fixed or mostly fixed so needs a status update
    and removed
    feature: transfers[WIP] Any uploading / downloading matters that aren't auto upload or sync specific
    on Oct 21, 2024
  24. tobiasKaminsky commented on Oct 28, 2026

    @tobiasKaminsky
    Member

    This is fixed via #17598

    If something does not work, please create a new issue.

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

    enhancementfeature: syncneeds reviewPotentially out of date or duplicate and/or fixed or mostly fixed so needs a status update

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions