From b19e46ee0bcefaccb06afd0c4ad9be19f008c6b1 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 --- apps/protocols/ftp/mode/filescount.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/protocols/ftp/mode/filescount.pm b/apps/protocols/ftp/mode/filescount.pm index f30358877..80d296dc4 100644 --- a/apps/protocols/ftp/mode/filescount.pm +++ b/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}; }