你好,欢迎来到商务中国互联网服务提供商!

全国统一免费专线:400-886-7171

网站首页 > API接口说明 > 虚拟主机申请及管理接口说明

13. 增购空间


13. 增购空间
格式
vhost<crlf>
add<crlf>
entityname:extquota<crlf>
product_type:protype<crlf>          #诸如 WH041等
sitename:sitename<crlf>             #目前和ftpaccount相同
extspace:extspace<crlf>             #增购空间大小,必须是 50 的倍数,如 100 就是 增购100MB. 
.<crlf>

返回
成功:
200 Command completed successfully<crlf>
space:space<crlf>    #这站点当前的空间大小
.<crlf>

缺少属性:
504 Missing required attribute<crlf>
Message: Missing Attribute [缺少的必要的属性名称]<crlf>
.<crlf>

非法的命令: 如果开头不是以vhost<crlf>add<crlf>entityname:extquota<crlf>(或以后的其它命令)开始
500 Invalid command name<crlf>
.<crlf>

系统忙:
521 System is busy, try again later<crlf>
.<crlf>

帐上金额不足:
402 There is not enough money in account<crlf>
.<crlf>

增购空间大小不是 50 的倍数
511 The space must be multiple of 50<crlf>
.<crlf>

增购空间已达到扩容上限
542 Capacity has reached the upper limit<crlf>
Message: Invalid Attribute: [达到扩容上限的属性名称]<crlf>
.<crlf>