Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffsend upload -d | --download-limit #133

Open
markuspfeifenberger opened this issue Dec 6, 2021 · 5 comments
Open

ffsend upload -d | --download-limit #133

markuspfeifenberger opened this issue Dec 6, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@markuspfeifenberger
Copy link

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)
@timvisee
Copy link
Owner

timvisee commented Dec 9, 2021

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

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

@timvisee timvisee added the bug Something isn't working label Dec 9, 2021
@timvisee
Copy link
Owner

timvisee commented Dec 9, 2021

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/)?

@markuspfeifenberger
Copy link
Author

markuspfeifenberger commented Dec 9, 2021 via email

@timvisee
Copy link
Owner

timvisee commented Dec 9, 2021

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.

@slothtown
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants