Directory rename event?

Please post here if you have problems in using Wing FTP Server.
Post Reply
alexdudek
Posts: 1
Joined: Sat Sep 29, 2018 8:13 am

Directory rename event?

Post 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
FTP
Site Admin
Posts: 2078
Joined: Tue Sep 29, 2009 6:09 am

Re: Directory rename event?

Post by FTP »

Yes, you can use the following variables:

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