Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    107
    Likes Received:
    2
    Trophy Points:
    68
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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:
    107
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    Looks very useful. I'll give it a try!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice