Skip Menu |

This queue is for tickets about the Net-SFTP-Foreign CPAN distribution.

Report information
The Basics
Id: 107130
Status: rejected
Priority: 0/
Queue: Net-SFTP-Foreign

People
Owner: Nobody in particular
Requestors: paul.bence [...] navy.mil
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Download smime.p7s
application/pkcs7-signature 5.4k

Message body not shown because it is not plain text.

"ls" does not accept patterns. Use "glob" for that.