View FTP uploads with archived raw logs

In this article I'm going to discuss how you can view the FTP uploads of your various FTP users with the archived raw logs in cPanel. If you have root access to a VPS or dedicated server, you can access logs showing all FTP activity across your accounts. If you are on a shared server, or do not have root access, this guide will explain the process of being able to access your FTP logs per cPanel account.

What are FTP uploads?

The logs we'll be accessing in this guide show the files that have been uploaded by the various FTP users on your account. If all of the sudden you're having an issue with a webpage or a script on your website, you can review the FTP logs to see which one of your users might have updated the file, and at what time.

Accessing the FTP logs

Prior to being able to access your FTP logs, you must first enable raw access log archiving in cPanel for the particular cPanel account you'd like to view FTP logs for. The logs need to process as well, so if you're looking for FTP uploads for today, more than likely you'd need to wait till tomorrow.

After that's been done, you'd just follow one of these methods to access your FTP logs:

I created a FTP account for a remote web devolper to help fix a plugin on my site. Is there any way to findout what that specific FTP account changed via the logs? I downloaded the logs and it looks to me like raw data for all visitors of the site. Any way to track down one spacific user? Thanks!

Tyler, on a cPanel server the default location for storing FTP logs is at /var/log/messages, and will not be accessible from your cPanel interface directly. I recommend either checking this log <a href="http://www.inmotionhosting.com/support/website/ssh/shared-reseller-ssh">via SSH</a>, or contacting your web hosting provider for more direct assistance with accessing this log file in relation to your account.