+ mode filescounts plugin ftp: enhance to work IIS Ftp

This commit is contained in:
garnier-quentin 2015-05-13 11:46:11 +02:00
parent 24539c87c4
commit b19e46ee0b
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ sub countFiles {
next;
}
if ($rights =~ /^d/i) {
if ($rights =~ /^(d|<DIR>)/i) {
if (defined($self->{option_results}->{max_depth}) && $level + 1 <= $self->{option_results}->{max_depth}) {
push @$list, { name => $name, level => $level + 1};
}