XFileSharing Pro - log of deleted files possible?

Message
Author
venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

log of deleted files possible?

#1 Postby venture89 » Oct 06, 2012 4:42 am

Hello, is it possible to have a record of all the deleted files?
I would like to have deleted_files.log that record files deleted either by admin or by cron.pl

I would probably have to edit cron.pl and some other file to record admin deleted? but I am not really good with perl, any examples?

Thanks in advance

afdah
Posts: 147
Joined: Jan 27, 2012 2:23 pm

Re: log of deleted files possible?

#2 Postby afdah » Oct 06, 2012 9:18 am

venture89 wrote:Hello, is it possible to have a record of all the deleted files?
I would like to have deleted_files.log that record files deleted either by admin or by cron.pl

I would probably have to edit cron.pl and some other file to record admin deleted? but I am not really good with perl, any examples?

Thanks in advance

the log is saved in your mysql database....

venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

#3 Postby venture89 » Oct 06, 2012 12:53 pm

Thanks for that.
Is it possible to edit the following code from the cron_deleted_email.pl so that it cc a copy of this deleted file email to admin?


Code: Select all

 $ses->SendMail( $user->{usr_email}, $c->{email_from}, "$c->{site_name}: deleted files list", $text );


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests