From f0a8d78d588e01b82265d3da65732824347ba0bd Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 13 May 2015 11:46:11 +0200 Subject: [PATCH] + mode filescounts plugin ftp: enhance to work IIS Ftp --- centreon-plugins/apps/protocols/ftp/mode/filescount.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/apps/protocols/ftp/mode/filescount.pm b/centreon-plugins/apps/protocols/ftp/mode/filescount.pm index f30358877..80d296dc4 100644 --- a/centreon-plugins/apps/protocols/ftp/mode/filescount.pm +++ b/centreon-plugins/apps/protocols/ftp/mode/filescount.pm @@ -158,7 +158,7 @@ sub countFiles { next; } - if ($rights =~ /^d/i) { + if ($rights =~ /^(d|)/i) { if (defined($self->{option_results}->{max_depth}) && $level + 1 <= $self->{option_results}->{max_depth}) { push @$list, { name => $name, level => $level + 1}; }