Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    46

    Default modify quota and bandwidth

    Is there a way to modify a domain's quota or bandwidth with xml-api? Or do we have to stick with /scripts/editquota and /scripts2/dolimitbw ?

    Scott

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    I would like to know this as well. I would like to know how to access bandwidth quotas and usage with the api as well. As far as what i have seen and been told, its not possible with cpanel 11.

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    come on, i really really need this.

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    Quote Originally Posted by scottc View Post
    Is there a way to modify a domain's quota or bandwidth with xml-api? Or do we have to stick with /scripts/editquota and /scripts2/dolimitbw ?

    Scott

    I still cant figure out how to modify bandwidth with the api in cpanel 11. /scripts2/dolimitbw doesnt even exist anymore. Can someone please help?

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MACscr View Post
    I still cant figure out how to modify bandwidth with the api in cpanel 11. /scripts2/dolimitbw doesnt even exist anymore. Can someone please help?
    Are you doing this for an individual account or for an entire package? If you are editing a package, you can use EditPkg in the XML-API.

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    Individual accounts. I definitely dont want to modify the packages.

  7. #7
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    David, can you please finish helping me?

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MACscr View Post
    David, can you please finish helping me?
    At this time there is no means by which to modify the bandwidth allocation for a user without modifying the package their account is associated with.

    If you desire this functionality, I would recommend you submit this as a feature request to:

    http://bugzilla.cpanel.net

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    Quote Originally Posted by cPanelDavidG View Post
    At this time there is no means by which to modify the bandwidth allocation for a user without modifying the package their account is associated with.

    If you desire this functionality, I would recommend you submit this as a feature request to:

    http://bugzilla.cpanel.net
    So your saying that cpanel 11 does allow this, but cpanel 10 did? That just doesnt make sense to do that. I rely on this functionality.

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MACscr View Post
    So your saying that cpanel 11 does allow this, but cpanel 10 did? That just doesnt make sense to do that. I rely on this functionality.
    That functionality was not available in the WHM API used in cPanel 10.

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    oh, i thought you could do it with /scripts/editquota and /scripts2/dolimitbw

  12. #12
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MACscr View Post
    oh, i thought you could do it with /scripts/editquota and /scripts2/dolimitbw
    If you want to use /scripts/editquota, that's fine for now - just remember that since it isn't an API, it is subject to change without notice.

    /scripts2 is undocumented functionality, use that at your own risk.

  13. #13
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    the problem is that cpanel 11 doesnt have /scripts2 anymore, so as far as i can see, there is no scripts or api for modifying a domains bw. Am i correct?

  14. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by MACscr View Post
    the problem is that cpanel 11 doesnt have /scripts2 anymore, so as far as i can see, there is no scripts or api for modifying a domains bw. Am i correct?
    You can modify a domain's bandwidth by editing the package associated with that domain via the XML API. If you want to edit that domain's bandwidth outside of editing that package, then I am not aware of any API function to handle that.

    You are always welcome to login via SSH as root and list the scripts in /scripts to determine if using any of those would be of assistance for your endeavor.

  15. #15
    Member
    Join Date
    Sep 2003
    Posts
    124

    Default

    updating a package is useless as it will then update everyone else as well.

    I looked in the /scripts folder and from at least file name,couldnt find anything that would modify an accounts domain.

    Could i take the script (dolimitbw) from a cpanel 10 server and use it on the cpanel 11 server?

    Is there a cpanel developer that can step in here and give me some ideas?

Similar Threads & Tags
Similar threads

  1. Unable to modify quota
    By rumor in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-11-2006, 07:04 PM
  2. I dont have Modify Quota as an option in FTP manager
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-26-2006, 12:27 PM
  3. Cannot modify account quota and strange fixquotas error
    By Bazer in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-10-2006, 07:25 AM
  4. how to modify Bandwidth exceeded page?
    By olivier222333 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-15-2004, 03:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube