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

ftp: lower log message priority when SetModTime is not supported to debug

Tobias Gionc4a9e480c9b4
diff --git a/backend/ftp/ftp.go b/backend/ftp/ftp.go
index 2491e10d2..7aa9935c5 100644
--- a/backend/ftp/ftp.go
+++ b/backend/ftp/ftp.go
@@ -1098,7 +1098,7 @@ func (o *Object) ModTime(ctx context.Context) time.Time {
// SetModTime sets the modification time of the object
func (o *Object) SetModTime(ctx context.Context, modTime time.Time) error {
if !o.fs.fSetTime {
- fs.Errorf(o.fs, "SetModTime is not supported")
+ fs.Debugf(o.fs, "SetModTime is not supported")
return nil
}
c, err := o.fs.getFtpConnection(ctx)