As the subject suggests, I've got a basic LUA script that executes when an OnFileUpload event occurs. The code simply takes a copy of the uploaded file and retains this as a backup for auditing purposes.
The problem I have is that I want this to exctue for all users, execpt one. From what I can tell there is no method through the WingFTP GUI to do this, so I was wondering about an exception within the script; something like:
if <current upload user> == "FTP-Test"
<do rest of calculation>
I can't seem to locate if there is any function to determine the current account that it is performing actions via LUA; maybe I'm just looking at it the wrong way......
Thanks in advance, need coffee.....