Page 1 of 1

How can I know deleted files by ftp users

Posted: Thu Jun 07, 2012 1:41 pm
by Pu239
Hello Everyone;
How can i log which a ftp user delete a file?
I can not see deleted file variable in server variables pages. Shotly; how can I know; when a user deleted a file, or multiple files. I looked up Server Variables and LUA Api's pages in Help documents but I couldn't find about making deleted file log.

Re: How can I know deleted files by ftp users

Posted: Fri Jun 08, 2012 5:23 am
by FTP
All the operations will be recorded in the logs, but maybe it is hard to read.

So please have a look on this script: http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=32" rel="nofollow

For your requirement, you just need to put the related Lua script into the event "OnFileDeleted".