Quote:
Originally Posted by till
Compare your ftp user and the website you created by the remote api with a website and FTP user that you created trough ispconfig interface to see the correct parameters for the records.
|
It's hard to debug your code or read your database without any documentation. I have followed what you are written in the samples and the FTP doesn't work.
What have I wrong in these parameters?
Code:
Paramenters: {
"server_id":1,
"parent_domain_id":3800,
"username":"jdoe_ftp1",
"password":"bexujuga",
"quota_size":"3000",
"active":"y",
"uid":"web135",
"gid":"client3800",
"dir":"\/var\/www\/clients\/client135\/web3800",
"quota_files":-1,
"ul_ratio":-1,
"dl_ratio":200,
"ul_bandwidth":-1,
"dl_bandwidth":100
}
Web Site Parameters
Code:
{
"server_id":"1",
"ip_address":"",
"domain":"testdomain.com",
"type":"vhost",
"parent_domain_id":0,
"vhost_type":"name",
"hd_quota":"3000",
"traffic_quota":"12000",
"errordocs":1,
"is_subdomainwww":1,
"subdomain":"www",
"php":"fast-cgi",
"active":"y",
"traffic_quota_lock":"n",
"system_user":"web1",
"allow_override":"All",
"custom_php_ini":"",
"apache_directives":""
}