mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 10:54:48 +08:00
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
This commit is contained in:
parent
232d304c13
commit
c4a9e480c9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user