CC: | "Dorismond, Junior CTR FNMOC, N6" <junior.dorismond.ctr [...] navy.mil> |
Subject: | Net::SFTP::Foreign Version 1.77, ls issue |
Date: | Wed, 16 Sep 2015 20:24:49 +0000 |
To: | "'bug-Net-SFTP-Foreign [...] rt.cpan.org'" <bug-Net-SFTP-Foreign [...] rt.cpan.org> |
From: | "Bence, Paul CIV 63134" <paul.bence [...] navy.mil> |
We are seeing the following issue using Net::SFTP::Foreign Version 1.77, 'ls' method, running on Linux Redhat RHEL 6.
1. When we do an $sftp->ls("/home/fubar/????????????/unident", realpath =>1, wanted => glob_to_regex ("issmi*"); (for example) we see an exception if for any of the wildcarded directories (the '????????????') no files are found matching the pattern. In other words, as soon as one "file not" found is encountered, it fails and does not even attempt to search for the other files in other subdirectories.
2. We stepped through the Net::SFTP::Foreign code with the debugger and confirmed this is what is happening.
3. At the SFTP command line, we also confirmed which file are present.
Thanks,
Paul Bence
Message body not shown because it is not plain text.