Rclone public link expiration time problem

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Hi Guys,

I have a problem while creating a public link for a file it appears the following:

024/10/22 09:15:07 NOTICE: S3 bucket testsystem: Public Link: Reducing expiry to 1w as 5y is greater than the max time allowed

How can i be able to increase the max time allowed for a remote ? i use idrive e2 for this.

Run the command 'rclone version' and share the full output of the command.

yes

Which cloud storage system are you using? (eg Google Drive)

idrive e2

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here
```rclone link --expire 5y idrive:/testsystem/CTERA-BackupAgent-6.0.901.5(1).msi


#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->
[idrive]

type = s3

provider = IDrive

access_key_id = XXX

secret_access_key = XXX

acl = private

bucket_acl = private

endpoint = l1a3.da.idrivee2-23.com

server_side_encryption = aws:kms

[real]

type = webdav

url = https://dav.real-debrid.com/

vendor = other

user = XXX

pass = XXX

### Double check the config for sensitive info before posting publicly

Paste config here




#### A log from the command that you were trying to run with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

Paste log here

no way to increase.
1w is hard coded in the source code.

My friend Jojo,

I hope youre great my man .. just one question

its hardcoded on the source code of rclone ? it has nothing to do with idrive e2 then correct ?

Kindly let me know your thoughts .

Regards.

Daniel

as per aws s3 specification, the max is 7 days.
the expiration time can be set as high as 7 days

so, rclone hard codes that into the source code
maxExpireDuration = fs.Duration(7 * 24 * time.Hour) // max expiry is 1 week

I see Jojo, so Ill have to renew every week then due of that specification, fair enough seems to me that ill have to play by the rules then.

Thanks my friend I appeciate the help given .

:slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.