Page 1 of 1

Directory rename event?

Posted: Sat Sep 29, 2018 8:15 am
by alexdudek
Hello,
I would to start a script when a user rename a directory. I found that event for the files which is also started on a directory rename but what I would like to use is the old and the new name of the directory.

Is there server variables which can give me that?

Kind regards,
Alex

Re: Directory rename event?

Posted: Mon Oct 01, 2018 5:22 pm
by FTP
Yes, you can use the following variables:

%OldFilePath - The old file path before renaming
%NewFilePath - The new file path after renaming