From 9172d5b22080da407c308cc10f0e8e07d3506091 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 5 Oct 2016 15:11:20 +0200 Subject: [PATCH] Add support for pure-ftpd stats format in method field --- wwwroot/cgi-bin/awstats.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 1fd2e755..21aa624a 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -18343,6 +18343,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' ) elsif ( $LogType eq 'F' && ( $field[$pos_method] eq 'RETR' + || $field[$pos_method] eq 'D' || $field[$pos_method] eq 'o' || $field[$pos_method] =~ /$regget/o ) ) @@ -18353,6 +18354,7 @@ if ( $UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft' ) elsif ( $LogType eq 'F' && ( $field[$pos_method] eq 'STOR' + || $field[$pos_method] eq 'U' || $field[$pos_method] eq 'i' || $field[$pos_method] =~ /$regsent/o ) ) -- 2.47.2