+ mode filescounts plugin ftp: enhance to work IIS Ftp
This commit is contained in:
parent
24539c87c4
commit
b19e46ee0b
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue