nextcloud / nextcloud/desktop

Make the desktop client reupload a given file when requested by the remote

Open
#9,214 0 comments 2 reactions 1 assignee Assigned to @Copilot View on GitHub
1. to develop feature: :arrows_counterclockwise: sync engine Prio: normal
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

## Feature request

1) The nextcloud server might provide a dav property `{http://nextcloud.org/ns}request-upload`. That property might exists, or not. We need to request it during the propfind request for the sync. Either's either 0 or 1.

2) If request-upload is one, the client should check if we have a local copy of the file (either classic mode or vfs) and if so, we should upload that copy. It should use exactly the same logic as when the watcher detects a change for a file the file system. Alternative idea: If, for whatever reason, it's to complicate/impossible to queue an upload during the discover phase, we could also consider to just modify the mtime of the local file and let the watcher take over.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.