Results 1 to 3 of 3
  1. #1
    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.

    Thanks
    BeDot 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.

  2. #2
    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

  3. #3
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    565
    Quote Originally Posted by BinaryFinary View Post
    Hiya,

    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?
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •