The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ftp logs

Discussion in 'General Discussion' started by SACHIN, Aug 30, 2006.

  1. SACHIN

    SACHIN Guest

    hi.


    one of our reseller would like to check all ftp logs of his client as well as he will add any client
    he should able to check logs.
    he tried cpanel but there is no option.
    he can get access logs but not ftp logs.


    thank you,
     
  2. littlelord

    littlelord Registered

    Joined:
    Dec 7, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    this may have the same rootcause as here. No solution until know, but I assume this is a common problem, as I see it on 2 seperated machines.

    Regards
     
  3. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    FTP access logs

    Downloading an FTP log is useful for monitoring exactly what FTP actions have occurred on your domain.

    To download FTP access logs for particular client:
    1. Click on the Ftp Manager button on the home page.
    2. Click on the FTP Accounts link.
    3. Click on one of the URLs listed at the bottom of the window, or copy and paste that URL into an FTP client application.

    Downloading FTP access logs.

    :)
     
  4. SACHIN

    SACHIN Guest

    Hello,

    I have tried to download Raw FTP logs as mentioned from Cpanel FTP manager as below.

    1. Click on the Ftp Manager button on the home page.
    2. Click on the FTP Accounts link.
    3. Click on one of the URLs listed at the bottom of the window, or copy and paste that URL into an FTP client application.

    I was not able to download any logs for domain.

    I tried it for 4 to 5 domains but I am getting page cannot be displayed error.

    But I think this logs are only the access logs, if I need all FTP logs for domain than what to do?

    Let me know what is the solution for download of FTP logs from client end.

    Thanks in advance
     
  5. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    FTP logs are present in /var/log/xferlogs . you can check there
     
  6. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    You could look in
    /usr/local/apache/domlogs

    You can do something simple as cat the output to his email or send it to
    a directory in his account where he can easily access it.

    setup a cronjob to put it in somewhere in his account on a daily basis.
    crontab -e
    then modify and add this to suite your needs
    This will update his file daily at 5am. If it is quite large, you can always pipe it to zip.

    0 5 * * * cp /usr/local/apache/domlogs/ftp.domain.log-ftp_log /home/user/public_html/some_directory
     
Loading...

Share This Page