Is it possible to use a system variable like $LoginID in a Group's Home Directory and Directory Access settings? I was thinking to create a generic group to span multiple users that would help define the path for all home directories for users who are members of the group. I tried using the $LoginID found on System Variables In Serv-U. The result was when the user signed into the FTP server the home directory with the directory name $LoginID was created instead of the actual loginId of the user. So, my attempts to see if it works didn't pan out with much success. If it matters this is a group and user created in the "Database Groups" and "Database Users" on an Ftp domain. This is Serv-U FTP 15.1.0 on Linux.
Solved! Go to Solution.
From the top part of the System Variables help documentation page:
Furthermore, you can also use the
%DOMAIN_HOME%variables. For more information about these variables, see "Directory Access Rules"
In general, it's best to use the $ macros for events and within system messages (like login messages or customized FTP responses) while using the % macros for configuration values. Many of the $ macros don't have explicit values are until a session has been successfully established or a specific action has taken place (like a file transfer) whereas the % macros have explicit values at all times.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.