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

Incorrect size for large file #15

Open
sandra2n opened this issue Sep 21, 2022 · 4 comments
Open

Incorrect size for large file #15

sandra2n opened this issue Sep 21, 2022 · 4 comments

Comments

@sandra2n
Copy link

Hello,

When I upload large file the returned bytes_total is incorrect and the returned bytes_uploaded go back to smaller size after a while.

Ex with a file of 6.59GB (7 087 108 096)

16:37:58 : Array
(
[upload_id] => 632b213b89b79
[fieldname] => link[]
[filename] => big_file.rar
[time_start] => 1663770974
[time_last] => 1663771078
[speed_average] => 4294734946
[speed_last] => 40598789
[bytes_uploaded] => 4270802843
[bytes_total] => 2792138080
[files_uploaded] => 0
[est_sec] => 0
)

16:37:59 : Array
(
[upload_id] => 632b213b89b79
[fieldname] => link[]
[filename] => big_file.rar
[time_start] => 1663770974
[time_last] => 1663771079
[speed_average] => 144183
[speed_last] => 39303682
[bytes_uploaded] => 15139229
[bytes_total] => 2792138080
[files_uploaded] => 0
[est_sec] => 19260
)

Do you know what to do to fix it, please?

Thank you

@ryandesign
Copy link

Did e77cf26 fix this?

@sandra2n
Copy link
Author

Sorry, I don't know how to compile

@ramsey
Copy link
Member

ramsey commented Dec 13, 2022

I'll try to release a version that contains the fix later this month.

@meyerrob
Copy link

meyerrob commented Mar 2, 2023

Same problem here - after 2GB the uploadprogressbar switches to 16EB - looks very much like an int overflow. An new version with the patch e77cf26 would be appreciated very much :-) (Tested on PHP 8.0.28)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants