View Single Post
  #2 (permalink)  
Old 06-22-2009, 11:05 AM
cPanelDavidG's Avatar
cPanelDavidG cPanelDavidG is offline
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by grayloon View Post
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.
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
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Reply With Quote