Subject: | directory listing failed: Couldn't read directory '/foo': bad packet sequence, expected 3, got 4 |
Date: | Thu, 4 Jun 2020 11:27:15 +0100 |
To: | bug-net-sftp-foreign [...] rt.cpan.org |
From: | rosert.20.ftumsh [...] xoxy.net |
Hello,
It looks like the 1.90_1 doesn't work.
I get the error ' directory listing failed: Couldn't read directory
'/foo': bad packet sequence, expected 3, got 4'
when the directory is empty and also when it has a certain number of
files. That number varies depending upon the size of file.
For example 14 or more files of 1 byte in size cause the error. 13 or
fewer works as expected. When I changed to 1000byte size files I still
got the error with 13 files. (I didn't test fewer files).
# This is Net::SFTP::Foreign 1.90_01
# Loaded from /usr/local/share/perl5/Net/SFTP/Foreign.pm
# Running on Perl v5.10.1 for linux
# debug set to 65536
# ~0 is 18446744073709551615
# Using backend Net::SFTP::Foreign::Backend::Unix 1.88_02
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
Warmly
John