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

How to solve the puzzle of max filesize? #128

Closed
arkprocession opened this issue Nov 16, 2022 · 2 comments
Closed

How to solve the puzzle of max filesize? #128

arkprocession opened this issue Nov 16, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@arkprocession
Copy link

i understand its in kb. no matter what i input even after i convert i get a wrong size.

i am trying to make send 100gb available. What should i write in max filesize?

@null-zero
Copy link

null-zero commented Nov 26, 2022

107374182400

107,374,182,400, without the commas

@timvisee
Copy link
Owner

The value should be in bytes.

The value 107374182400 is correct, which is:

100 * 1024 * 1024 * 1024
      ^      ^      ^
      gb   * kb   * b
=
107374182400 bytes

The default value, of 2.5GB, can be seen here:

default: 1024 * 1024 * 1024 * 2.5,

@timvisee timvisee self-assigned this Nov 29, 2022
@timvisee timvisee added the question Further information is requested label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants