Comments (7)
@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.
from tinyfilemanager.
@hppanpaliya my misunderstanding then, I was thinking of folder file size, which is obviously different and that does have to work in the way I described.
from tinyfilemanager.
from tinyfilemanager.
#1100 Check out this PR, as it implements a feature to display disk space usage.
from tinyfilemanager.
The PR is still not integrated?
from tinyfilemanager.
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.
from tinyfilemanager.
Thanks, I was about to implement, for this reason I will not do it
from tinyfilemanager.
Related Issues (20)
- Uploads fail if the directory contains an ampersand in the directory name
- Add bookmark support
- Add watermark when uploading photos
- Virus Detected? HOT 1
- File extention hide HOT 1
- script itself deletion HOT 2
- Problem with file uploads HOT 4
- Download file prompts
- Ownership and permission for root folder HOT 3
- Regarding the offline version demonstration plan,
- Config theme and font size [enhancement] HOT 1
- Is it possible to integrate an online viewer for offline scenarios? I can't access google Thanks to the developer! HOT 10
- Add progress bar elapsed time and upload speed for normal upload and url upload please
- cannot preview files HOT 2
- Cannot download large files
- after login the user is redirected to the directory and not to the (renamed) tinyfilemanager.php HOT 1
- "Open" error if "root_path" is on different location HOT 3
- missing partition size
- Sorting arrows are not there HOT 4
- preview doesnt work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyfilemanager.