"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
dropbox: fix public link by removing expires parameter
Nick Craig-Wooddf9c93058121
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.goindex ca07db62d..02c7af30c 100755--- a/backend/dropbox/dropbox.go+++ b/backend/dropbox/dropbox.go@@ -787,9 +787,12 @@ func (f *Fs) PublicLink(ctx context.Context, remote string, expire fs.Duration,fs.Debugf(f, "attempting to share '%s' (absolute path: %s)", remote, absPath)createArg := sharing.CreateSharedLinkWithSettingsArg{Path: absPath,- Settings: &sharing.SharedLinkSettings{- Expires: time.Now().Add(time.Duration(expire)),- },+ // FIXME this gives settings_error/not_authorized/.. errors+ // and the expires setting isn't in the documentation so remove+ // for now.+ // Settings: &sharing.SharedLinkSettings{+ // Expires: time.Now().Add(time.Duration(expire)).UTC().Round(time.Second),+ // },}var linkRes sharing.IsSharedLinkMetadataerr = f.pacer.Call(func() (bool, error) {