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: Make file exclusion error controllable with -q #287

Nick Craig-Woodc724d8f614d9
diff --git a/dropbox/dropbox.go b/dropbox/dropbox.go
index 9fd64ac02..8d3952ee8 100644
--- a/dropbox/dropbox.go
+++ b/dropbox/dropbox.go
@@ -654,7 +654,7 @@ func (o *Object) Open() (in io.ReadCloser, err error) {
func (o *Object) Update(in io.Reader, modTime time.Time, size int64) error {
remote := o.remotePath()
if ignoredFiles.MatchString(remote) {
- fs.ErrorLog(o, "File name disallowed - not uploading")
+ fs.Log(o, "File name disallowed - not uploading")
return nil
}
entry, err := o.fs.db.UploadByChunk(ioutil.NopCloser(in), int(uploadChunkSize), remote, true, "")