Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

dropbox: fix repeatedly uploading the same files - fixes #2218

Nick Craig-Woodc749cf8d9970
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.go
index b27910995..541837707 100644
--- a/backend/dropbox/dropbox.go
+++ b/backend/dropbox/dropbox.go
@@ -836,7 +836,7 @@ func (o *Object) SetModTime(modTime time.Time) error {
// Dropbox doesn't have a way of doing this so returning this
// error will cause the file to be deleted first then
// re-uploaded to set the time.
- return fs.ErrorCantSetModTime
+ return fs.ErrorCantSetModTimeWithoutDelete
}
// Storable returns whether this object is storable