"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
jottacloud: fix server-side copy onto a trashed file failing as corrupted
Nick Craig-Woodb8d4ea09c4ff
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.goindex 6af70b99b..a67a02bfb 100644--- a/backend/jottacloud/jottacloud.go+++ b/backend/jottacloud/jottacloud.go@@ -1500,9 +1500,9 @@ func (f *Fs) Copy(ctx context.Context, src fs.Object, remote string) (fs.Object,info, err := f.copyOrMove(ctx, "cp", srcObj.filePath(), remote)if err == nil {- var createTime time.Time+ createTime := srcObj.createTimevar createTimeMeta bool- var modTime time.Time+ modTime := srcObj.modTimevar modTimeMeta boolif meta != nil {createTime, createTimeMeta = srcObj.parseFsMetadataTime(meta, "btime")