We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$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?
The text was updated successfully, but these errors were encountered:
Unfortunately, there's no way to do this right now. You will need to increase the number of FTP accounts allowed.
Sorry, something went wrong.
the solution to this problem was "ftp_is_optional" => 1 got this after some help on the cPanel IRC-Channel
No branches or pull requests
$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?
The text was updated successfully, but these errors were encountered: