Knowledge Base
Created
Modified
Modified
How To calculate the used space
With SmartFTP
- Connect to the server
- In the Remote Browser (server window) select the folder for which you want to calculate the used space
- Right-click on the select folder and select Properties from the context menu
- Click on the Calculate button
With a script running on your server
Calculating the used disk space on a remote server requires all folders to be recursively enumerated. This is very inefficient and the better solution is to do this calculation directly on the server. We have written two scripts you can use for this purpose:
PHP and ASP Script - DiskUsage.zip
Keywords
space size total calculate recursively
Related Articles
What do you think about this topic? Send feedback!