ffsend icon indicating copy to clipboard operation
ffsend copied to clipboard

ffsend upload -d | --download-limit

Open markuspfeifenberger opened this issue 3 years ago • 5 comments

The download limit flag is not processed. If set, eg to -d 1 the default of 10 downloads is set

ffsend upload -d 1 filename.txt
# or ffsend upload --download-limit 1 filename.txt

ffsend info https://XXXXX/download/...

ID:         6b52ddXXXXXXXXX
Downloads:  0 of 10
Expiry:     6d23h (604790s)

markuspfeifenberger avatar Dec 06 '21 10:12 markuspfeifenberger

That's weird! I didn't catch this before.

I'll try to see if I can reproduce this.

timvisee avatar Dec 09 '21 17:12 timvisee

I cannot reproduce this with ffsend 0.2.74.

Are you using a custom instance? And, does it work fine on the public instance (--host https://send.vis.ee/)?

timvisee avatar Dec 09 '21 17:12 timvisee

Hi,

yes it works with the public instance, but not with our custom instance, hmmmm.

Ok, I will check the setup of the custom instance and let you know, the version and settings.

All the best Markus

On 09.12.2021, at 18:36, Tim Visée @.***> wrote:

I cannot reproduce this with ffsend 0.2.74.

Are you using a custom instance? And, does it work fine on the public instance (--host https://send.vis.ee/)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/timvisee/ffsend/issues/133#issuecomment-990069368, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWHFXLYK6OIKZNV7OGGSX3UQDSIPANCNFSM5JOH5UOQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

markuspfeifenberger avatar Dec 09 '21 18:12 markuspfeifenberger

A Redis misconfiguration could be the issue, especially when using Docker to host Send.

If using Docker, please make sure files are still available when you restart all containers.

timvisee avatar Dec 09 '21 19:12 timvisee

Hi,

I'm having a similar issue. I'm using version 0.2.74 from snap store with the public instance (send.vis.ee). The difference is that when I set the download limit to 1, it becomes 3.

ffsend upload -d 1 testfile.txt
Upload complete
https://send.vis.ee/download/xxxx

ffsend info https://send.vis.ee/download/xxxx

ID:         xxxx
Downloads:  0 of 3  
Expiry:     23h59m (86381s)

slothtown avatar Oct 17 '22 12:10 slothtown