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:

View FTP logs directly on server

  1. Login to your cPanel
  2. click on file manager home directory goUnder the Files section, click on File Manager, then select Home Directory from the pop-up and click Go.
  3. click on logsFrom the left-hand directory listing, click on logs.
  4. right click archived log click extractRight-click on the archived FTP log you'd like to look at, then click on Extract.
  5. click on extract filesIn the next pop-up, leave /logs selected as the extraction directory, then click Extract File(s).

    A Extraction Results pop-up should display, click on Close on that.

  6. right click archived log click viewRight-click on the resulting extracted FTP log file, then select View.

    You can see in this example, we had the user user1 upload the file sunset-over-mountains.jpg, and the user user2 upload the file ImageMagick-6.8.3-9.tar.bz2.
    viewing ftp logs

View logs locally on your computer

  1. click on raw access logsUnder the Logs section, click on Raw Access Logs.
  2. click on ftp archived raw logUnder the Archived Raw Logs section, click on the archived FTP log for the month you're interested in.

    In my case, this was ftp.example.com-ftp_log-Mar-2013.gz

  3. Then you'd need to use a program like 7-Zip that can extract .gz archives to view the log file itself.

You should now know how to access your cPanel account's FTP logs, to see what your FTP users have been uploading to your account.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2220
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5641

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!