Description
This function sets an account's FTP quota.
Warning:
- UAPI (recommended) —
Ftp::set_quota
— This function changes an FTP account's quota. - cPanel API 2 —
Ftp::setquota
— This function changes an FTP account's quota.
Examples
This function does not return output.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
user |
string |
Required The FTP username. |
A valid FTP username on the account. |
user |
quota |
integer |
The new FTP account quota. This value defaults to 0. |
|
100000000 |
kill |
Boolean |
Whether to remove the quota. Note: This parameter overrides the quota parameter. This value defaults to 0. |
|
0 |
Returns
This function does not return output.