mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #1136] Full size error #733
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @acastrovargas on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1136
The full size is not real, it only shows the value of files and not the contents in the folders.
@explorerfaketimepass commented on GitHub (Jan 24, 2024):
#1100 Check out this PR, as it implements a feature to display disk space usage.
@acastrovargas commented on GitHub (Jan 24, 2024):
The PR is still not integrated?
@ner00 commented on GitHub (Jan 24, 2024):
Just note that the script will have to iterate through every sub-folder and its contents to calculate this, every time the page refreshes. I had implemented this on a custom version of mine but had to turn if off due to the performance impact. If you have few files and all with a certain acceptable size, no problem, otherwise the HDD will be taxed immensely.
@acastrovargas commented on GitHub (Jan 24, 2024):
Thanks, I was about to implement, for this reason I will not do it
@hppanpaliya commented on GitHub (Jan 24, 2024):
@ner00 No, the script does not iterate through every sub-folder and its contents to calculate disk space. It uses efficient built-in PHP functions (disk_total_space() and disk_free_space()) that directly query the operating system, so it won't heavily tax the HDD.
@ner00 commented on GitHub (Jan 24, 2024):
@hppanpaliya my misunderstanding then, I was thinking of folder
filesize, which is obviously different and that does have to work in the way I described.@acastrovargas commented on GitHub (Jan 24, 2024):