mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 15:11:56 +01:00
jottacloud: fix setting of metadata on server side move - fixes #7900
This commit is contained in:
parent
918185273f
commit
9a02c04028
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user