Ftp
FTP Accounts
Return whether an FTP account exists
This function checks whether an FTP account exists.
Note:
This function returns only metadata if the FTP account exists, or an error if the FTP account does not exist.
get/Ftp/ftp_exists
Query parameters
userstring required
Example:us_chickens
The FTP account's username.
domainstring domain
Example:example.com
The user's associated domain.
Note:
This parameter defaults to the cPanel account's primary domain.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "ftp_exists",
"module": "Ftp",
"result": {
"status": 1
}
}