rclone / rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
https://rclone.org
MIT License
44.98k stars 4.03k forks source link

Public Link for Swift Backend #7861

Open danielkalotai opened 1 month ago

danielkalotai commented 1 month ago

The associated forum post URL from https://forum.rclone.org

I was looking around to check if a PublicLink functionality is given and found the following. https://forum.rclone.org/t/failed-to-link-gcs-bucket-doesnt-support-public-links/37040 Then checked the swift backend and found out that there is no public link implementation.

What is your current rclone version (output from rclone version)?

github.com/rclone/rclone v1.66.0

What problem are you are trying to solve?

We are using the rclone api to integrate it in our golang implementations and we would like to create an URL to a file (OpenStack Swift), which can be used to download the file behind the link.

How do you think rclone should be changed to solve that?

Add the PublicLink functionality to the swift backend.

How to use GitHub

ncw commented 1 month ago

Does the swift API have a separate function for doing that or is is just rclone needs to show the link it would use to download the file and rely on the user having set the bucket to public?

If the latter, this would be very easy to implement if you wanted to have a go.