LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FTP LOG for active session, downloads and connected user (https://www.linuxquestions.org/questions/linux-software-2/ftp-log-for-active-session-downloads-and-connected-user-4175500671/)

kunalks 04-05-2014 09:01 AM

FTP LOG for active session, downloads and connected user
 
Hello guys,

I have seriously big problem.
i Have external ftp server and there are some user who are connected with this ftp server and download the files from my ftp server.

I just want to or make a log that How many user are connected to my ftp server and how many time my files downloaded.

this is really important to know.can any one have idea about it that how can i check this?

any software or script i need to use for it?
please suggest me?
I have windows server2012 also and there also ftp server is running.it has ftp log files but this file is so big and so hard to read.(Any software to read log )
i want to set up linux ftp with monitoring of active session,how many time files is downloaded?
and how many users are connected?

thanks

yongitz 04-06-2014 05:47 AM

using vsftpd, and I personally use this, you can track active connections by adding these lines on your config file:

setproctitle_enable=YES
session_support=YES

Then you may able to monitor who are connected by:

Quote:

watch -n 1 "ps ax | grep [v]sftpd"
Using pureftp, you can use pure-ftpwho.
Using proftpd, you can use ftpwho and ftptop.


All times are GMT -5. The time now is 08:52 AM.