|
@@ 2410-2419 (lines=10) @@
|
| 2407 |
|
} |
| 2408 |
|
|
| 2409 |
|
// This API2 function allows you to list ftp-users associated with a cPanel account including disk information. |
| 2410 |
|
public function listftpwithdisk($username) |
| 2411 |
|
{ |
| 2412 |
|
if (!isset($username)) { |
| 2413 |
|
error_log("listftpwithdisk requires that user is passed to it"); |
| 2414 |
|
|
| 2415 |
|
return false; |
| 2416 |
|
} |
| 2417 |
|
|
| 2418 |
|
return $this->api2_query($username, 'Ftp', 'listftpwithdisk'); |
| 2419 |
|
} |
| 2420 |
|
|
| 2421 |
|
// This API2 function allows you to list ftp-users associated with a cPanel account. |
| 2422 |
|
public function listftp($username) |
|
@@ 2422-2431 (lines=10) @@
|
| 2419 |
|
} |
| 2420 |
|
|
| 2421 |
|
// This API2 function allows you to list ftp-users associated with a cPanel account. |
| 2422 |
|
public function listftp($username) |
| 2423 |
|
{ |
| 2424 |
|
if (!isset($username)) { |
| 2425 |
|
error_log("listftp requires that user is passed to it"); |
| 2426 |
|
|
| 2427 |
|
return false; |
| 2428 |
|
} |
| 2429 |
|
|
| 2430 |
|
return $this->api2_query($username, 'Ftp', 'listftp'); |
| 2431 |
|
} |
| 2432 |
|
|
| 2433 |
|
// This API function displays a list of all parked domains for a specific user. |
| 2434 |
|
public function listparkeddomains($username, $domain = null) |