Track files uploaded via pure-ftpd

Recently, I've had more than one occurrence of files being messed up due to bad uploads from users on a cpanel server running pure-ftpd.

Here is a simple one liner to get a report of uploads:

/bin/grep pure-ftpd /var/log/messages| grep upload | grep -v <trusted ip address>

"trusted ip address" would possibly be your own.

I put the above on a daily cron and keep an eye out for user uploads.

Post new comment

  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.