Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AddonDomain #17

Open
iamkaarp opened this issue Dec 16, 2014 · 2 comments
Open

Add AddonDomain #17

iamkaarp opened this issue Dec 16, 2014 · 2 comments

Comments

@iamkaarp
Copy link

$xmlapi->api2_query($data->products->product[0]->username, "AddonDomain", "addaddondomain", array('newdomain'=>$domainlist[$i])); <- executed

Result is:

object(SimpleXMLElement)#9 (6) {
["apiversion"]=>
string(1) "2"
["data"]=>
object(SimpleXMLElement)#10 (2) {
["reason"]=>
string(76) "You have exceeded the maximum allowed FTP (File Transfer Protocol) accounts."
["result"]=>
string(1) "0"
}
["error"]=>
string(76) "You have exceeded the maximum allowed FTP (File Transfer Protocol) accounts."
["event"]=>
object(SimpleXMLElement)#8 (1) {
["result"]=>
string(1) "1"
}
["func"]=>
string(14) "addaddondomain"
["module"]=>
string(11) "AddonDomain"
}

How to tell the API to not create ftp-accounts?

@naptastic
Copy link

Unfortunately, there's no way to do this right now. You will need to increase the number of FTP accounts allowed.

@iamkaarp
Copy link
Author

the solution to this problem was "ftp_is_optional" => 1 got this after some help on the cPanel IRC-Channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants