View Single Post
  #1  
Old 22nd May 2010, 08:24
DOLARiON DOLARiON is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Remote: FTP User Create :: SOAP Error: directory_error_notinweb

Hi,

so... the problem is:
Code:
SOAP Error: directory_error_notinweb
when I'm trying to do this:
Code:
$params	= array(
	"server_id"			=> "1",
	"parent_domain_id"	=> "1",
	"username"			=> "mysite_newuser",
	"password"			=> "1234567890",
	"quota_size"		=> "-1",
	"active"			=> "y",
	
	"uid"				=> "web1",
	"gid"				=> "client1",
	"dir"				=> "/var/www/clients/client1/web1",
	"quota_files"		=> "100",
	"ul_ratio"			=> "-1",
	"dl_ratio"			=> "200",
	"ul_bandwidth"		=> "-1",
	"dl_bandwidth"		=> "100",

);


/**
* Save
*/
$client_id = 1;

$user_id = $client->sites_ftp_user_add($session_id, $client_id, $params);
echo 'User ID: '.$user_id.'<br />';
The question is: what is wrong?
Reply With Quote
Sponsored Links