"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
uptobox: ensure files and folders show the modtime configured by --default-time #6986
Nick Craig-Wood0468375054ed
diff --git a/backend/uptobox/uptobox.go b/backend/uptobox/uptobox.goindex ad827377b..4f09ad8e6 100644--- a/backend/uptobox/uptobox.go+++ b/backend/uptobox/uptobox.go@@ -923,7 +923,8 @@ func (o *Object) Remote() string {// It attempts to read the objects mtime and if that isn't present the// LastModified returned in the http headersfunc (o *Object) ModTime(ctx context.Context) time.Time {- return time.Now()+ ci := fs.GetConfig(ctx)+ return time.Time(ci.DefaultTime)}// Size returns the size of an object in bytesdiff --git a/docs/content/uptobox.md b/docs/content/uptobox.mdindex 7324058fc..7f6e750ab 100644--- a/docs/content/uptobox.md+++ b/docs/content/uptobox.md@@ -84,7 +84,8 @@ To copy a local directory to an Uptobox directory called backup### Modified time and hashes-Uptobox supports neither modified times nor checksums.+Uptobox supports neither modified times nor checksums. All timestamps+will read as that set by `--default-time`.### Restricted filename characters