mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +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)
|
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")
|
createTime, createTimeMeta := srcObj.parseFsMetadataTime(meta, "btime")
|
||||||
if !createTimeMeta {
|
if !createTimeMeta {
|
||||||
createTime = srcObj.createTime
|
createTime = srcObj.createTime
|
||||||
|
Loading…
Reference in New Issue
Block a user