This patch addresses an error encountered when running edi_fetcher.pl.
The method "is_dir" should be just plain "dir" in RemoteAccount.pm file.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
next;
}
if ($dirtarget and $dirtarget ne '.' and $dirtarget ne './' and
- $self->_ftp->is_dir($dirtarget)) {
+ $self->_ftp->dir($dirtarget)) {
foreach my $file (@part) { # we ensure full(er) path
$file =~ /^$dirtarget\// and next;
$logger->debug("ls_ftp: prepending $dirtarget/ to $file");