diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go index 04e4bca10..8ad457c74 100644 --- a/backend/jottacloud/jottacloud.go +++ b/backend/jottacloud/jottacloud.go @@ -1555,7 +1555,7 @@ func (f *Fs) Move(ctx context.Context, src fs.Object, remote string) (fs.Object, } info, err := f.copyOrMove(ctx, "mv", srcObj.filePath(), remote) - if err != nil && meta != nil { + if err == nil && meta != nil { createTime, createTimeMeta := srcObj.parseFsMetadataTime(meta, "btime") if !createTimeMeta { createTime = srcObj.createTime