Portal Home > Knowledgebase > Articles Database > Cpanel - WebDisk - Question?


Cpanel - WebDisk - Question?




Posted by BeDotMedia, 09-04-2007, 02:53 PM
Hiya, Im currently investigating how to create FTP accounts from a dynamic php page, my server is running CPanel and I want to create serveral 25MB quota FTP accounts with no HTTP access. I have looked into WHM-Scripts which suggest you need to create a new domain or subdomain per ftp - which isnt what I want. I have found today the webdisk feature of cpanel - Can you control quotas on webdisk via cpanel? Or could someone suggest an alternative to achieving this? Basically i want to have a page with a form - username, password, email address. On submit - it creates an ftp account under my domain which they can access with the entered username and password. Thanks

Posted by david510, 09-05-2007, 12:16 AM
You may search in cpanel forums. I have seen similar script for making email accounts there.

Posted by cPanelDavidG, 09-05-2007, 11:50 AM
In cPanel 11, you no longer need a new domain/subdomain for each IP. You can specify the path to be anywhere within your home directory (/home/user) in version 11. In your situation, to script the creation of webdisk accounts, you would call API2 functions relating to creating such an account from the XML-API (which you would call from your form submission). More information on how to do this is on the cPanel API documentation pages at: http://www.cpanel.net/plugins/devel/



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
lighttpd server-status (Views: 582)
MySQL High Server Load (Views: 585)