Hi
I'm trying to create ftp account with '/' as homedir
Documentation says that homedir should be relative to the account's home but now this code produces ftp-account with homedir like `/home/<username>/public_html`
Has something changed in the cPanel API recently?
cPanel Version: 11.34.0 (build 11)
Taras
I'm trying to create ftp account with '/' as homedir
Code:
Cpanel::Ftp::api2_addftp(
user => $ftp_username,
pass => $ftp_password,
quota => 0,
homedir => '/',
);
Has something changed in the cPanel API recently?
cPanel Version: 11.34.0 (build 11)
Taras
Last edited: