mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 06:06:27 +08:00
jottacloud: fix setting of metadata on server side move - fixes #7900
Some checks are pending
Docker beta build / Build image job (push) Waiting to run
Some checks are pending
Docker beta build / Build image job (push) Waiting to run
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