The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server-wide FTP Usage

Discussion in 'General Discussion' started by grayloon, Jun 22, 2009.

  1. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    In WHM, is there a way to view all FTP accounts with associated quota and usage information? I'm trying to generate a report for the boss, and I'm trying to pull the info without visiting the cPanel for 90 accounts.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    For individual FTP accounts server-wide, this information is not compiled into a report in WHM. However, you can build your own script to gather this information.

    You can loop through each account returned in the XML-API's listaccts function and call the FTP::listftpwithdisk function.

    If you want an easier interface to all of this, I recommend using Matt's PHP 5 class: http://forums.cpanel.net/532613-post65.html
     
  3. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    Looks very useful. I'll give it a try!
     
Loading...

Share This Page