Results 1 to 3 of 3
Thread: Cpanel - WebDisk - Question?
-
09-04-2007, 02:53 PM #1Junior Guru Wannabe
- Join Date
- Jan 2006
- Location
- London / Los Angeles
- Posts
- 39
Cpanel - WebDisk - Question?
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.
ThanksBeDot Media Group Hosting, Websites, WordPress, Domains and Email Services
Everything you need to get your Business Online, Great products at fair prices backed by amazing support.
-
09-05-2007, 12:16 AM #2Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
You may search in cpanel forums. I have seen similar script for making email accounts there.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
09-05-2007, 11:50 AM #3Eternal Member
- Join Date
- Nov 2006
- Location
- Houston, TX
- Posts
- 565
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/David Grega
cPanel Technical Product Specialist