Hello,
Further to this suggestion:
https://forums.cpanel.net/threads/customizing-the-directory-path-for-ftp-users.162002/#post-678994
I'd like to change what is shown (eg, by default don't add /<USERNAME>/ to the public_html folder) to the user when an FTP account is created.
it appears there are two files where this can be altered:
/usr/local/cpanel/base/frontend/x3/ftp/add_ftp_form.html
/usr/local/cpanel/base/frontend/x3/ftp/accounts_pure-ftpd.html
YAHOO.util.Event.on("login", "change", function() {
- YAHOO.util.Dom.get("homedir").value = "public_html/" + YAHOO.util.Dom.get("login").value;
+ YAHOO.util.Dom.get("homedir").value = "public_html/";
dir_validator.verify();
});
However, changing those files has no effect on the FTP Create page - is it being cached somewhere (yes, I did clear the browser cache) on the server, or am I barking up the wrong tree here?
Thanks
Further to this suggestion:
https://forums.cpanel.net/threads/customizing-the-directory-path-for-ftp-users.162002/#post-678994
I'd like to change what is shown (eg, by default don't add /<USERNAME>/ to the public_html folder) to the user when an FTP account is created.
it appears there are two files where this can be altered:
/usr/local/cpanel/base/frontend/x3/ftp/add_ftp_form.html
/usr/local/cpanel/base/frontend/x3/ftp/accounts_pure-ftpd.html
YAHOO.util.Event.on("login", "change", function() {
- YAHOO.util.Dom.get("homedir").value = "public_html/" + YAHOO.util.Dom.get("login").value;
+ YAHOO.util.Dom.get("homedir").value = "public_html/";
dir_validator.verify();
});
However, changing those files has no effect on the FTP Create page - is it being cached somewhere (yes, I did clear the browser cache) on the server, or am I barking up the wrong tree here?
Thanks