Results 1 to 3 of 3

Thread: Show Folder Sizes in File Manager

  1. #1
    Registered User
    Join Date
    Nov 2008
    Location
    Curitiba/Brasil
    Posts
    4

    Thumbs down Show Folder Sizes in File Manager

    Currently file manager shows only 4k size of the directory. It should display the total size of that directory. I think its simples and very essential.

    If user need to clear his account, he need to know the sizes.

  2. #2
    Registered Member cPanel Partner NOC Badge
    Join Date
    Sep 2007
    Posts
    141

    Default Re: file management

    No, it is not simple and uses unnecessary resources to calculate the disk used under each folder. The 4k is the size of the folder itself and has nothing to do with the contents of the folder. Cpanel would need to calculate the usage for each of the folders every time someone uses the file manager and with accounts that are larger than 500mb, this will cause huge delays. A simple plugin or page could be created showing the breakdown of the size of the folders or even a php script could do this very easily.
    Last edited by sirdopes; 12-01-2010 at 04:13 PM.

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,248
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb Re: file management

    Indeed, and cPanel calls it the Disk Space Usage tool, found in your cPanel interface.

    The cPanel Disk Usage Viewer provides an overview of the disk space that your account is using. It shows disk usage totals for your account’s directories and all of its databases rather than for individual files or databases. Use the File Manager to see disk usage data for individual files, and the MySQL and PostgreSQL main pages to see data for individual databases.

    NOTE: These figures may not reflect the most recent changes to your account’s disk usage.

    The bars in the graph below represent disk usage figures relative to each other, not according to a fixed scale.



Similar Threads

  1. File Manager in Cpanel not show all File list at end
    By al_bozorgi in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-07-2013, 02:01 PM
  2. File manager: new folder
    By WeHa in forum New User Questions
    Replies: 1
    Last Post: 02-25-2009, 04:59 AM
  3. How do I get File Manager to show invisible files?
    By Valetia in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-11-2008, 06:31 AM
  4. file/folder selection bug in file manager
    By myweb in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-15-2008, 11:50 PM
bargain