LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ftp counter (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-counter-4175410833/)

mmhs 06-11-2012 05:12 AM

Ftp counter
 
hi guys

is there any tools to count FTP daily views to use in apache server

Snark1994 06-11-2012 05:39 AM

I would imagine you could use FTP logging to see who has logged in each day, though I have never tried it myself.

mmhs 06-11-2012 09:18 AM

Quote:

Originally Posted by Snark1994 (Post 4700508)
I would imagine you could use FTP logging to see who has logged in each day, though I have never tried it myself.

thx man but i need to know about the daily views which is not mentioned in that link :)

chrism01 06-11-2012 07:22 PM

What does 'FTP daily views' actually mean?
If you have a download page displayed as http and content is downloadable via ftp, then Apache's access_log is what you need to check.
(If you really mean views, not downloads)

mmhs 06-12-2012 03:47 AM

Quote:

Originally Posted by chrism01 (Post 4701025)
What does 'FTP daily views' actually mean?
If you have a download page displayed as http and content is downloadable via ftp, then Apache's access_log is what you need to check.
(If you really mean views, not downloads)

thx man for your reply it means how many sessions every day our FTP server has !

Snark1994 06-13-2012 06:07 AM

The link I posted should allow you to produce a list of every FTP session. It would then be up to a (e.g. PHP or perl) script to parse the data and work out how many sessions you've had today.


All times are GMT -5. The time now is 10:20 AM.