diff --git a/src/libsync/propagateuploadng.cpp b/src/libsync/propagateuploadng.cpp index e477cb830601..4642d857b692 100644 --- a/src/libsync/propagateuploadng.cpp +++ b/src/libsync/propagateuploadng.cpp @@ -276,6 +276,7 @@ void PropagateUploadFileNG::startNewUpload() // But we should send the temporary (or something) one. headers["OC-Total-Length"] = QByteArray::number(_fileToUpload._size); + headers["Destination"] = destinationHeader(); const auto job = new MkColJob(propagator()->account(), chunkUploadFolderUrl(), headers, this); connect(job, &MkColJob::finishedWithError,