Search K
Appearance
Appearance
This script is called after an FTP account is created or modified.
passwd variable is already encrypted/etc/proftpd.passwd or /usr/local/directadmin/data/users/username/ftp.passwdThis hook is called after an FTP account is deleted.
/etc/proftpd.passwd or /usr/local/directadmin/data/users/username/ftp.passwdAPI hook for changing the FTP account password.
Note that main_domain and is_owned_ip are important! If both of them are set to 1, the ftp login is just "user" and not "user@domain.com" (even though the change password form requires user@domain.com in all cases). All cases of is_owned_ip=1 means that the ftp.passwd file is:
/usr/local/directadmin/data/users/username/ftp.passwdand not:
/etc/proftpd.passwd