This article documents the usage of the Cpanel::Ftp::listftpwithdisk function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Ftp::listftpwithdisk
This function lists FTP accounts for a domain which are using a FTP server compatible with disk space quotas.
<?cp Ftp::listftpwithdisk( [tr] [td]%[/td] [td]%[/td] [td]%[/td] [td]% MB[/td] [td]% MB[/td] [/tr] ,serverlogin,accttype,reldir,diskused,diskquota) infinitylang=true ?>
This example will output rows of table with ftp logins, account types, relative FTP root directories, disk space usage, and disk space quotas for all users in the domain.
Copyright 2007 cPanel Inc.