Hi, can i automatically delete files in user's folder when the user is disabled?
Thank you
I would try to use the events in Serv-U to do that. You can setup an event when a user is disabled that will run a batch script that will delete the files. Be careful with this approach b/c you only want to delete the file path if it is unique to each user. For example, in the screenshot below I'm assuming the %HOME% variable is mapped to a unique folder for each user.
My path is C:\FTP/"LoginID"/
and when i'm using that %HOME% variable, it goes to C:\ as the home directory while i need "LoginID" as the home directory
can i use another variable or any work around?
thanks
These may be of some use. I found them in the help documentation.
%USER%, %HOME%, %USER_FULL_NAME%, and %DOMAIN_HOME%
%USER%
%HOME%
%USER_FULL_NAME%
%DOMAIN_HOME%