From c4a9e480c9b41aa004a33471d2eb1112f8f6a846 Mon Sep 17 00:00:00 2001 From: Tobias Gion Date: Tue, 25 Apr 2023 16:31:42 +0200 Subject: [PATCH] ftp: lower log message priority when SetModTime is not supported to debug See: https://forum.rclone.org/t/ftp-fritz-box-setmodtime-is-not-supported/37781 --- backend/ftp/ftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)